mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-29 14:11:26 +00:00
move system.stateVersion back to userdata
This commit is contained in:
parent
05fe40ac21
commit
5aba990f95
|
@ -78,6 +78,7 @@
|
||||||
"# Completely remove remnants of NIXOS_LUSTRATE."
|
"# Completely remove remnants of NIXOS_LUSTRATE."
|
||||||
"R! /old-root"
|
"R! /old-root"
|
||||||
];
|
];
|
||||||
|
system.stateVersion = config.selfprivacy.stateVersion;
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
enable = config.selfprivacy.autoUpgrade.enable;
|
enable = config.selfprivacy.autoUpgrade.enable;
|
||||||
allowReboot = config.selfprivacy.autoUpgrade.allowReboot;
|
allowReboot = config.selfprivacy.autoUpgrade.allowReboot;
|
||||||
|
|
|
@ -34,6 +34,10 @@ with lib;
|
||||||
type = types.nullOr types.bool;
|
type = types.nullOr types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
stateVersion = mkOption {
|
||||||
|
description = "State version of the server";
|
||||||
|
type = types.str;
|
||||||
|
};
|
||||||
########################
|
########################
|
||||||
# Server admin options #
|
# Server admin options #
|
||||||
########################
|
########################
|
||||||
|
|
Loading…
Reference in a new issue