mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-26 04:51: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."
|
||||
"R! /old-root"
|
||||
];
|
||||
system.stateVersion = config.selfprivacy.stateVersion;
|
||||
system.autoUpgrade = {
|
||||
enable = config.selfprivacy.autoUpgrade.enable;
|
||||
allowReboot = config.selfprivacy.autoUpgrade.allowReboot;
|
||||
|
|
|
@ -34,6 +34,10 @@ with lib;
|
|||
type = types.nullOr types.bool;
|
||||
};
|
||||
};
|
||||
stateVersion = mkOption {
|
||||
description = "State version of the server";
|
||||
type = types.str;
|
||||
};
|
||||
########################
|
||||
# Server admin options #
|
||||
########################
|
||||
|
|
Loading…
Reference in a new issue