mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 20:10:34 +05:00
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
Block a user