make option out of stateVersion
This commit is contained in:
parent
14fb3ac644
commit
b1623d82e2
6 changed files with 9 additions and 7 deletions
|
|
@ -8,6 +8,7 @@
|
|||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.horseman.users.default;
|
||||
username = config.horseman.username;
|
||||
stateVersion = config.horseman.stateVersion;
|
||||
in {
|
||||
options = {
|
||||
horseman.users.default = {
|
||||
|
|
@ -22,7 +23,7 @@ in {
|
|||
home = {
|
||||
username = username;
|
||||
homeDirectory = "/home/${username}";
|
||||
stateVersion = "24.11";
|
||||
stateVersion = stateVersion;
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue