manual_inherit
This commit is contained in:
@@ -88,7 +88,7 @@ in
|
||||
|
||||
config = {
|
||||
users = {
|
||||
mutableUsers = cfg.mutableUsers;
|
||||
inherit (cfg) mutableUsers;
|
||||
groups.${cfg.group}.gid = lib.mkForce (if cfg.group != "wheel" then cfg.gid else 1);
|
||||
users = {
|
||||
root = {
|
||||
@@ -99,6 +99,7 @@ in
|
||||
${cfg.name} = {
|
||||
inherit (cfg)
|
||||
name
|
||||
group
|
||||
uid
|
||||
linger
|
||||
packages
|
||||
@@ -133,7 +134,6 @@ in
|
||||
]
|
||||
++ cfg.extraGroups;
|
||||
|
||||
group = cfg.group;
|
||||
home = "/home/${cfg.name}";
|
||||
isNormalUser = true;
|
||||
shell = lib.mkForce pkgs.zsh;
|
||||
|
||||
Reference in New Issue
Block a user