autoupdate: don't display diff-closure in microvms

they might not have nix or the daemon
This commit is contained in:
Sandro - 2023-10-16 01:47:48 +02:00
parent 3ebcbacfc5
commit 750a8b3554
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
};
# Always show a diff when activating a new system
system.activationScripts.diff-system = {
system.activationScripts.diff-system = lib.mkIf (!config.microvm.hypervisor ? false) {
supportsDryActivation = true;
text = ''
if [ -e /run/current-system ] && [ -e $systemConfig ]; then