Fix trying to add users to non-existent groups
This commit is contained in:
parent
1208dd4df0
commit
f81434bdfe
@ -68,7 +68,7 @@ in
|
||||
|
||||
users.extraUsers = optionalAttrs (cfg.user == "openldap") (singleton
|
||||
{ name = "openldap";
|
||||
group = "openldap";
|
||||
group = cfg.group;
|
||||
uid = config.ids.uids.openldap;
|
||||
});
|
||||
|
||||
|
@ -596,7 +596,7 @@ in
|
||||
|
||||
users.extraUsers = optionalAttrs (mainCfg.user == "wwwrun") (singleton
|
||||
{ name = "wwwrun";
|
||||
group = "wwwrun";
|
||||
group = mainCfg.group;
|
||||
description = "Apache httpd user";
|
||||
uid = config.ids.uids.wwwrun;
|
||||
});
|
||||
|
@ -105,7 +105,7 @@ in
|
||||
|
||||
users.extraUsers = optionalAttrs (cfg.user == "nginx") (singleton
|
||||
{ name = "nginx";
|
||||
group = "nginx";
|
||||
group = cfg.group;
|
||||
uid = config.ids.uids.nginx;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user