alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
jitsi: add event_sync plugin
author
lassulus
date
2 years ago
(Dec 31, 2023, 6:51 PM CET)
commit
774e3733
774e373305fa60acb07ed8ef4d990f7cebda1802
parent
d750fffa
d750fffa70b7b4923552c3efb808927c109025a8
+16
-18
1 changed file
Expand all
Collapse all
Unified
Split
2configs
services
coms
jitsi.nix
+16
-18
2configs/services/coms/jitsi.nix
View file
Reviewed
···
1
1
-
{
1
1
+
{ pkgs, ... }: let
2
2
+
3
3
+
prosody-contrib-plugins = pkgs.fetchFromGitHub {
4
4
+
owner = "jitsi-contrib";
5
5
+
repo = "prosody-plugins";
6
6
+
rev = "v20230929";
7
7
+
sha256 = "sha256-1Lmj+ZWqZRRvHVgNDXXEqH2DwhE7TwP0gktjihJCg1g=";
8
8
+
};
9
9
+
10
10
+
in {
2
11
3
12
services.jitsi-meet = {
4
13
enable = true;
···
38
47
};
39
48
};
40
49
50
50
+
services.prosody.extraPluginPaths = [ "${prosody-contrib-plugins}/event_sync" ];
51
51
+
services.prosody.extraModules = [ "admin_shell" "event_sync" ];
41
52
services.prosody.extraConfig = ''
42
42
-
Component "event_sync.meet.mydomain.com" "event_sync_component"
43
43
-
muc_component = "conference.meet.mydomain.com"
44
44
-
breakout_component = "breakout.meet.mydomain.com"
53
53
+
Component "event_sync.jitsi.lassul.us" "event_sync_component"
54
54
+
muc_component = "conference.jitsi.lassul.us"
55
55
+
breakout_component = "breakout.jitsi.lassul.us"
45
56
46
46
-
api_prefix = "https://jitsi-presence.numtide.com"
47
47
-
48
48
-
--- The following are all optional
49
49
-
api_timeout = 3 -- timeout if API does not respond within 3s
50
50
-
api_retry_count = 1 -- retry up to 1 times
51
51
-
api_retry_delay = 5 -- wait 5s between retries
52
52
-
53
53
-
-- change retry rules so we also retry if endpoint returns HTTP 408
54
54
-
api_should_retry_for_code = function (code)
55
55
-
return code >= 500 or code == 408
56
56
-
end
57
57
-
58
58
-
-- Optionally include total_dominant_speaker_time (milliseconds) in payload for occupant-left and room-destroyed
59
59
-
include_speaker_stats = true
57
57
+
api_prefix = "http://jitsi-presence.numtide.com"
60
58
'';
61
59
62
60
krebs.iptables.tables.filter.INPUT.rules = [