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
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ in
config = lib.mkIf enable {
# set the vmail gid to a specific value
users.groups = {
vmail = { gid = vmailUIDStart; };
"${vmailGroupName}" = { gid = vmailUIDStart; };
};
# define all users