diff --git a/mail-server.nix b/mail-server.nix index 9ca9419..f6ab9e7 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -31,4 +31,9 @@ in environment.systemPackages = with pkgs; [ dovecot opendkim openssh postfix clamav rspamd rmilter ]; + + # set the vmail gid to a specific value + users.groups = { + vmail = { gid = vmail_id_start; }; + } }