about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/by-name/co/constants/module.nix2
-rw-r--r--modules/by-name/ji/jitsi-meet/module.nix10
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/by-name/co/constants/module.nix b/modules/by-name/co/constants/module.nix
index 2115a37..4dc7845 100644
--- a/modules/by-name/co/constants/module.nix
+++ b/modules/by-name/co/constants/module.nix
@@ -52,6 +52,7 @@
       stalwart-mail-certificates = 338; # GROUP
       sharkey = 339;
       redis-sharkey = 340;
+      jitsi-meet = 341;
 
       # As per the NixOS file, the uids should not be greater or equal to 400;
     };
@@ -85,6 +86,7 @@
         systemd-oom
         sharkey
         redis-sharkey
+        jitsi-meet
         systemd-coredump # matches systemd-coredump user
         resolvconf # This group is not matched to an user?
         stalwart-mail-certificates # This group is used to connect nginx and stalwart-mail
diff --git a/modules/by-name/ji/jitsi-meet/module.nix b/modules/by-name/ji/jitsi-meet/module.nix
index d5844be..66a2e7c 100644
--- a/modules/by-name/ji/jitsi-meet/module.nix
+++ b/modules/by-name/ji/jitsi-meet/module.nix
@@ -104,5 +104,15 @@ in {
         };
       };
     };
+
+    users = {
+      groups.jitsi-meet = {
+        gid = config.vhack.constants.ids.gids.jitsi-meet;
+      };
+      users.jitsi-meet = {
+        group = "jitsi-meet";
+        uid = config.vhack.constants.ids.uids.jitsi-meet;
+      };
+    };
   };
 }