add activation script showing updated packages #53

Merged
rouven0 merged 1 commit from activation-scripts into main 2023-07-31 19:55:30 +02:00

View file

@ -6,6 +6,13 @@
''; '';
}; };
system.activationScripts.report-nixos-changes = ''
if [ -e /run/current-system ] && [ -e $systemConfig ]; then
echo System package diff:
${config.nix.package}/bin/nix store diff-closures /run/current-system $systemConfig || true
fi
'';
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
console = { console = {