autoupdate: don't display diff-closure in microvms
they might not have nix or the daemon
This commit is contained in:
parent
3ebcbacfc5
commit
750a8b3554
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue