cleanup
This commit is contained in:
@@ -138,6 +138,8 @@ in
|
||||
soft_auto_provision = false;
|
||||
allow_multiple_user_backends = false; # auto redirect to authentik for login
|
||||
};
|
||||
|
||||
social_login_auto_redirect = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -64,7 +64,7 @@ in
|
||||
config = {
|
||||
users = {
|
||||
mutableUsers = cfg.mutableUsers;
|
||||
groups.${cfg.group}.gid = lib.mkForce cfg.gid;
|
||||
groups.${cfg.group}.gid = lib.mkForce (if cfg.group != "wheel" then cfg.gid else 1);
|
||||
users.${cfg.name} = {
|
||||
inherit (cfg)
|
||||
name
|
||||
|
||||
Reference in New Issue
Block a user