feat: added support for custom shells in alqueva.users
This commit is contained in:
parent
9599d27cdf
commit
3af3b5dbc4
4 changed files with 9 additions and 4 deletions
|
@ -27,6 +27,11 @@ in {
|
|||
default = [];
|
||||
description = "Groups to add the defined user to.";
|
||||
};
|
||||
shell = mkOption {
|
||||
type = types.package;
|
||||
default = config.programs.bash.package;
|
||||
description = "Shell the user wants to use.";
|
||||
};
|
||||
};
|
||||
});
|
||||
};
|
||||
|
@ -38,7 +43,7 @@ in {
|
|||
isNormalUser = true;
|
||||
extraGroups = ucfg.groups;
|
||||
inherit (ucfg) packages;
|
||||
shell = config.programs.xonsh.package;
|
||||
shell = ucfg.shell;
|
||||
initialPassword = "password";
|
||||
})
|
||||
cfg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue