autoupdate: fix diff-closure condition
This commit is contained in:
parent
6f27af9cc5
commit
62f5c93c40
|
@ -63,8 +63,8 @@
|
|||
options = "--delete-older-than 21d";
|
||||
};
|
||||
|
||||
# Always show a diff when activating a new system
|
||||
system.activationScripts.diff-system = lib.mkIf (!config.microvm.hypervisor ? false) {
|
||||
# Show a diff when activating a new system except for microvms which handle this seperately
|
||||
system.activationScripts.diff-system = lib.mkIf (config.c3d2.deployment.server == "") {
|
||||
supportsDryActivation = true;
|
||||
text = ''
|
||||
if [ -e /run/current-system ] && [ -e $systemConfig ]; then
|
||||
|
|
Loading…
Reference in New Issue