affichage dans le terminal des maj/ajout/suppression

This commit is contained in:
Yves Dubromelle
2023-08-05 14:57:18 +02:00
parent 542ae88339
commit cb013ea75f

View File

@@ -27,4 +27,12 @@ in
options = "--delete-older-than 7d"; options = "--delete-older-than 7d";
}; };
}; };
# Affichage des modifications de profil (maj/ajout/suppression) dans le terminal
system.activationScripts.diff = {
supportsDryActivation = true;
text = ''
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
'';
};
} }