autoupdate: fix diff-closure condition

This commit is contained in:
Sandro - 2023-10-16 02:01:51 +02:00
parent 6f27af9cc5
commit 62f5c93c40
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -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