users.nix: ensure the group getting its gid set is vmailGroupName

This commit is contained in:
Ruben Maher 2017-11-05 19:15:56 +10:30
parent 47f742fb83
commit 8372b85369

View File

@ -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