feat: add closure diff script on activation
This commit is contained in:
parent
e3fbb399ed
commit
98bd02b5e7
@ -124,6 +124,12 @@ in
|
||||
inherit registry;
|
||||
};
|
||||
|
||||
system.activationScripts.diff = ''
|
||||
${pkgs.nixUnstable}/bin/nix store \
|
||||
--experimental-features 'nix-command' \
|
||||
diff-closures /run/current-system "$systemConfig"
|
||||
'';
|
||||
|
||||
# security = {
|
||||
# hideProcessInformation = true;
|
||||
# protectKernelImage = true;
|
||||
|
Loading…
Reference in New Issue
Block a user