Added Allowners muc module to prosody and jitsi-meet

This commit is contained in:
Marcel Novotny
2025-03-25 23:17:58 +01:00
parent cef6f1b83c
commit 2411e6eecd
3 changed files with 21 additions and 2 deletions

View File

@@ -187,6 +187,16 @@ in
off if you want to configure it manually.
'';
};
prosody.allowners_muc = mkOption {
type = bool;
default = false;
description = ''
Add module allowners, any user in chat is able to
kick other. Usefull in jitsi-meet to kick ghosts.
'';
};
prosody.lockdown = mkOption {
type = bool;
default = false;
@@ -240,6 +250,7 @@ in
{
domain = "conference.${cfg.hostName}";
name = "Jitsi Meet MUC";
allowners_muc = cfg.prosody.allowners_muc;
roomLocking = false;
roomDefaultPublicJids = true;
extraConfig = ''