diff --git a/mail-server/users.nix b/mail-server/users.nix index a8cbcc9..64c9c8a 100644 --- a/mail-server/users.nix +++ b/mail-server/users.nix @@ -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