jitsi-meet and prosody Added ownerallowkick patch and all_owners module (#155755)

authored by

lassulus and committed by
GitHub
3e7ce75d caf57108

+21 -2
+1
nixos/modules/services/networking/jitsi-videobridge.nix
··· 280 User = "jitsi-videobridge"; 281 Group = "jitsi-meet"; 282 283 CapabilityBoundingSet = ""; 284 NoNewPrivileges = true; 285 ProtectSystem = "strict";
··· 280 User = "jitsi-videobridge"; 281 Group = "jitsi-meet"; 282 283 + AmbientCapabilities = "CAP_NET_BIND_SERVICE"; 284 CapabilityBoundingSet = ""; 285 NoNewPrivileges = true; 286 ProtectSystem = "strict";
+9 -2
nixos/modules/services/networking/prosody.nix
··· 342 question can be created again. 343 ''; 344 }; 345 - 346 vcard_muc = mkOption { 347 type = types.bool; 348 default = true; ··· 856 857 ${lib.concatMapStrings (muc: '' 858 Component ${toLua muc.domain} "muc" 859 - modules_enabled = { "muc_mam"; ${optionalString muc.vcard_muc ''"vcard_muc";'' } } 860 name = ${toLua muc.name} 861 restrict_room_creation = ${toLua muc.restrictRoomCreation} 862 max_history_messages = ${toLua muc.maxHistoryMessages}
··· 342 question can be created again. 343 ''; 344 }; 345 + allowners_muc = mkOption { 346 + type = types.bool; 347 + default = false; 348 + description = '' 349 + Add module allowners, any user in chat is able to 350 + kick other. Usefull in jitsi-meet to kick ghosts. 351 + ''; 352 + }; 353 vcard_muc = mkOption { 354 type = types.bool; 355 default = true; ··· 863 864 ${lib.concatMapStrings (muc: '' 865 Component ${toLua muc.domain} "muc" 866 + modules_enabled = { "muc_mam"; ${optionalString muc.vcard_muc ''"vcard_muc";'' } ${optionalString muc.allowners_muc ''"muc_allowners";'' } } 867 name = ${toLua muc.name} 868 restrict_room_creation = ${toLua muc.restrictRoomCreation} 869 max_history_messages = ${toLua muc.maxHistoryMessages}
+11
nixos/modules/services/web-apps/jitsi-meet.nix
··· 187 off if you want to configure it manually. 188 ''; 189 }; 190 prosody.lockdown = mkOption { 191 type = bool; 192 default = false; ··· 240 { 241 domain = "conference.${cfg.hostName}"; 242 name = "Jitsi Meet MUC"; 243 roomLocking = false; 244 roomDefaultPublicJids = true; 245 extraConfig = ''
··· 187 off if you want to configure it manually. 188 ''; 189 }; 190 + 191 + prosody.allowners_muc = mkOption { 192 + type = bool; 193 + default = false; 194 + description = '' 195 + Add module allowners, any user in chat is able to 196 + kick other. Usefull in jitsi-meet to kick ghosts. 197 + ''; 198 + }; 199 + 200 prosody.lockdown = mkOption { 201 type = bool; 202 default = false; ··· 250 { 251 domain = "conference.${cfg.hostName}"; 252 name = "Jitsi Meet MUC"; 253 + allowners_muc = cfg.prosody.allowners_muc; 254 roomLocking = false; 255 roomDefaultPublicJids = true; 256 extraConfig = ''