about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-30 12:59:42 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-30 12:59:42 +0200
commitb9c70e227d3131da73a3d4f6a683a5f66817f60b (patch)
treea75ed4f02ae04e690612218f8ed092320304df2f /modules
parentzones/vhack.eu: Use correct `eu` tld instead of `org` (diff)
downloadnixos-server-b9c70e227d3131da73a3d4f6a683a5f66817f60b.zip
modules/mail: Actually set the uid/gid of the virtualMail user
Diffstat (limited to '')
-rw-r--r--modules/by-name/ma/mail/module.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/by-name/ma/mail/module.nix b/modules/by-name/ma/mail/module.nix
index 4df3b1d..d458291 100644
--- a/modules/by-name/ma/mail/module.nix
+++ b/modules/by-name/ma/mail/module.nix
@@ -156,11 +156,13 @@ in {
         knot-resolver.uid = config.vhack.constants.ids.uids.knot-resolver;
         redis-rspamd.uid = config.vhack.constants.ids.uids.redis-rspamd;
         rspamd.uid = config.vhack.constants.ids.uids.rspamd;
+        virtualMail.uid = lib.mkForce config.vhack.constants.ids.uids.virtualMail;
       };
       groups = {
         knot-resolver.gid = lib.mkForce config.vhack.constants.ids.gids.knot-resolver;
         redis-rspamd.gid = config.vhack.constants.ids.gids.redis-rspamd;
         rspamd.gid = config.vhack.constants.ids.gids.rspamd;
+        virtualMail.gid = lib.mkForce config.vhack.constants.ids.gids.virtualMail;
       };
     };
   };