From 3e048656ad3ce1c4fe10f841f0ad97b61f53c916 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 30 Jul 2025 20:51:28 +0200 Subject: modules/jitsi-meet: Encode the jitsi-meet user group id --- modules/by-name/co/constants/module.nix | 2 ++ modules/by-name/ji/jitsi-meet/module.nix | 10 ++++++++++ 2 files changed, 12 insertions(+) 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; + }; + }; }; } -- cgit 1.4.1