diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-30 20:51:28 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-30 20:51:28 +0200 |
commit | 3e048656ad3ce1c4fe10f841f0ad97b61f53c916 (patch) | |
tree | 4031c48947e605f7be4028aba98475f1e001afce | |
parent | zones/vhack.eu: Add jitsi-meet subdomain (diff) | |
download | nixos-server-3e048656ad3ce1c4fe10f841f0ad97b61f53c916.zip |
modules/jitsi-meet: Encode the jitsi-meet user group id
-rw-r--r-- | modules/by-name/co/constants/module.nix | 2 | ||||
-rw-r--r-- | modules/by-name/ji/jitsi-meet/module.nix | 10 |
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; + }; + }; }; } |