about summary refs log tree commit diff stats
path: root/modules/by-name/st/stalwart-mail/module.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/st/stalwart-mail/module.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/by-name/st/stalwart-mail/module.nix b/modules/by-name/st/stalwart-mail/module.nix
index 6905005..1ad76c7 100644
--- a/modules/by-name/st/stalwart-mail/module.nix
+++ b/modules/by-name/st/stalwart-mail/module.nix
@@ -249,10 +249,20 @@ in {
     # service is restarted on a potentially large number of files.
     # That would cause unnecessary and unwanted delays.
     users = {
-      groups.stalwart-mail = {};
+      groups.stalwart-mail = {
+        gid = config.vhack.constants.ids.gids.stalwart-mail;
+      };
       users.stalwart-mail = {
         isSystemUser = true;
         group = "stalwart-mail";
+        uid = config.vhack.constants.ids.uids.stalwart-mail;
+      };
+      groups.redis-stalwart-mail = {
+        gid = config.vhack.constants.ids.gids.redis-stalwart-mail;
+      };
+      users.redis-stalwart-mail = {
+        group = "redis-stalwart-mail";
+        uid = config.vhack.constants.ids.uids.redis-stalwart-mail;
       };
     };