make option out of stateVersion
This commit is contained in:
parent
14fb3ac644
commit
b1623d82e2
6 changed files with 9 additions and 7 deletions
|
|
@ -7,6 +7,7 @@
|
|||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.horseman.base.nix;
|
||||
stateVersion = config.horseman.stateVersion;
|
||||
in {
|
||||
options = {
|
||||
horseman.base.nix = {
|
||||
|
|
@ -40,5 +41,7 @@ in {
|
|||
experimental-features = "nix-command flakes";
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
|
||||
system.stateVersion = stateVersion;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue