services/jitsi: Add missing dependency for breakout rooms (#429837)
This commit is contained in:
commit
2ea007a23b
@ -8,6 +8,7 @@
|
|||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
cfg = config.services.jitsi-meet;
|
cfg = config.services.jitsi-meet;
|
||||||
|
|
||||||
# The configuration files are JS of format "var <<string>> = <<JSON>>;". In order to
|
# The configuration files are JS of format "var <<string>> = <<JSON>>;". In order to
|
||||||
@ -231,6 +232,14 @@ in
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.prosody = mkIf cfg.prosody.enable {
|
services.prosody = mkIf cfg.prosody.enable {
|
||||||
|
|
||||||
|
# required for muc_breakout_rooms
|
||||||
|
package = lib.mkDefault (
|
||||||
|
config.services.prosody.package.override {
|
||||||
|
withExtraLuaPackages = p: with p; [ cjson ];
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
enable = mkDefault true;
|
enable = mkDefault true;
|
||||||
xmppComplianceSuite = mkDefault false;
|
xmppComplianceSuite = mkDefault false;
|
||||||
modules = {
|
modules = {
|
||||||
@ -419,6 +428,7 @@ in
|
|||||||
cfg.videobridge.passwordFile
|
cfg.videobridge.passwordFile
|
||||||
else
|
else
|
||||||
"/var/lib/jitsi-meet/videobridge-secret";
|
"/var/lib/jitsi-meet/videobridge-secret";
|
||||||
|
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
${config.services.prosody.package}/bin/prosodyctl register focus auth.${cfg.hostName} "$(cat /var/lib/jitsi-meet/jicofo-user-secret)"
|
${config.services.prosody.package}/bin/prosodyctl register focus auth.${cfg.hostName} "$(cat /var/lib/jitsi-meet/jicofo-user-secret)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user