users.nix: ensure the group getting its gid set is vmailGroupName
This commit is contained in:
parent
47f742fb83
commit
8372b85369
|
@ -45,7 +45,7 @@ in
|
||||||
config = lib.mkIf enable {
|
config = lib.mkIf enable {
|
||||||
# set the vmail gid to a specific value
|
# set the vmail gid to a specific value
|
||||||
users.groups = {
|
users.groups = {
|
||||||
vmail = { gid = vmailUIDStart; };
|
"${vmailGroupName}" = { gid = vmailUIDStart; };
|
||||||
};
|
};
|
||||||
|
|
||||||
# define all users
|
# define all users
|
||||||
|
|
Loading…
Reference in New Issue