Compare commits
2 commits
0d6da8d678
...
b41edf0cfb
Author | SHA1 | Date | |
---|---|---|---|
teutat3s | b41edf0cfb | ||
teutat3s | e48fe612e2 |
|
@ -11,6 +11,17 @@
|
|||
permittedInsecurePackages = [ "olm-3.2.16" ];
|
||||
};
|
||||
|
||||
system.activationScripts.diff-closures = {
|
||||
text = ''
|
||||
if [[ -e /run/current-system ]]; then
|
||||
${config.nix.package}/bin/nix store diff-closures \
|
||||
/run/current-system "$systemConfig" \
|
||||
--extra-experimental-features nix-command
|
||||
fi
|
||||
'';
|
||||
supportsDryActivation = true;
|
||||
};
|
||||
|
||||
nix = {
|
||||
# Use default version alias for nix package
|
||||
package = pkgs.nix;
|
||||
|
|
Loading…
Reference in a new issue