system.stateVersion: default or config.selfprivacy.stateVersion
This commit is contained in:
@@ -78,7 +78,9 @@
|
||||
"# Completely remove remnants of NIXOS_LUSTRATE."
|
||||
"R! /old-root"
|
||||
];
|
||||
system.stateVersion = config.selfprivacy.stateVersion;
|
||||
system.stateVersion =
|
||||
lib.mkIf (config.selfprivacy.stateVersion != null)
|
||||
config.selfprivacy.stateVersion;
|
||||
system.autoUpgrade = {
|
||||
enable = config.selfprivacy.autoUpgrade.enable;
|
||||
allowReboot = config.selfprivacy.autoUpgrade.allowReboot;
|
||||
|
Reference in New Issue
Block a user