This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

jitsi: add event_sync plugin

+16 -18
+16 -18
2configs/services/coms/jitsi.nix
··· 1 - { 1 + { pkgs, ... }: let 2 + 3 + prosody-contrib-plugins = pkgs.fetchFromGitHub { 4 + owner = "jitsi-contrib"; 5 + repo = "prosody-plugins"; 6 + rev = "v20230929"; 7 + sha256 = "sha256-1Lmj+ZWqZRRvHVgNDXXEqH2DwhE7TwP0gktjihJCg1g="; 8 + }; 9 + 10 + in { 2 11 3 12 services.jitsi-meet = { 4 13 enable = true; ··· 38 47 }; 39 48 }; 40 49 50 + services.prosody.extraPluginPaths = [ "${prosody-contrib-plugins}/event_sync" ]; 51 + services.prosody.extraModules = [ "admin_shell" "event_sync" ]; 41 52 services.prosody.extraConfig = '' 42 - Component "event_sync.meet.mydomain.com" "event_sync_component" 43 - muc_component = "conference.meet.mydomain.com" 44 - breakout_component = "breakout.meet.mydomain.com" 53 + Component "event_sync.jitsi.lassul.us" "event_sync_component" 54 + muc_component = "conference.jitsi.lassul.us" 55 + breakout_component = "breakout.jitsi.lassul.us" 45 56 46 - api_prefix = "https://jitsi-presence.numtide.com" 47 - 48 - --- The following are all optional 49 - api_timeout = 3 -- timeout if API does not respond within 3s 50 - api_retry_count = 1 -- retry up to 1 times 51 - api_retry_delay = 5 -- wait 5s between retries 52 - 53 - -- change retry rules so we also retry if endpoint returns HTTP 408 54 - api_should_retry_for_code = function (code) 55 - return code >= 500 or code == 408 56 - end 57 - 58 - -- Optionally include total_dominant_speaker_time (milliseconds) in payload for occupant-left and room-destroyed 59 - include_speaker_stats = true 57 + api_prefix = "http://jitsi-presence.numtide.com" 60 58 ''; 61 59 62 60 krebs.iptables.tables.filter.INPUT.rules = [