This repository has no description
0

Configure Feed

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

coms.jitsi: remove sync rooms, make it work with new unstable

+7 -73
+7 -73
2configs/services/coms/jitsi.nix
··· 1 - { pkgs, ... }: 2 - let 3 - 4 - prosody-contrib-plugins = pkgs.fetchFromGitHub { 5 - owner = "jitsi-contrib"; 6 - repo = "prosody-plugins"; 7 - rev = "v20230929"; 8 - sha256 = "sha256-1Lmj+ZWqZRRvHVgNDXXEqH2DwhE7TwP0gktjihJCg1g="; 9 - }; 10 - 11 - in 1 + { ... }: 12 2 { 13 3 14 4 nixpkgs.config.permittedInsecurePackages = [ ··· 21 11 enableWelcomePage = true; 22 12 requireDisplayName = true; 23 13 analytics.disabled = true; 24 - startAudioOnly = false; # check if webcams work nicer with that 25 - channelLastN = 4; 26 14 stunServers = [ 27 15 # - https://www.kuketz-blog.de/jitsi-meet-server-einstellungen-fuer-einen-datenschutzfreundlichen-betrieb/ 28 16 { urls = "turn:turn.matrix.org:3478?transport=udp"; } 29 17 { urls = "turn:turn.matrix.org:3478?transport=tcp"; } 30 18 ]; 31 - constraints.video.height = { 32 - ideal = 720; 33 - max = 1080; 34 - min = 240; 35 - }; 36 - remoteVideoMenu.disabled = false; 37 - breakoutRooms.hideAddRoomButton = false; 38 - maxFullResolutionParticipants = 1; 39 19 }; 40 20 interfaceConfig = { 41 21 SHOW_JITSI_WATERMARK = false; ··· 45 25 }; 46 26 }; 47 27 28 + services.prosody.checkConfig = false; 29 + 48 30 services.nginx.virtualHosts."meet.lassul.us" = { 49 31 enableACME = true; 50 32 addSSL = true; 51 33 locations."/".return = "301 https://jitsi.lassul.us$request_uri"; 52 34 }; 53 35 54 - services.jitsi-videobridge = { 55 - config.videobridge = { 56 - cc.assumed-bandwidth-limit = "1000 Mbps"; 57 - }; 58 - }; 59 - 60 - services.prosody.package = pkgs.prosody.override { 61 - withExtraLuaPackages = 62 - p: with p; [ 63 - # required for muc_breakout_rooms 64 - cjson 65 - ]; 66 - }; 67 - 68 - services.prosody.extraPluginPaths = [ "${prosody-contrib-plugins}/event_sync" ]; 69 - services.prosody.extraModules = [ 70 - "admin_shell" 71 - "event_sync" 36 + networking.firewall.allowedTCPPorts = [ 37 + 4443 38 + 10000 72 39 ]; 73 - services.prosody.extraConfig = '' 74 - Component "event_sync.numtide" "event_sync_component" 75 - muc_component = "conference.jitsi.lassul.us" 76 - breakout_component = "breakout.jitsi.lassul.us" 77 - 78 - api_prefix = "http://jitsi-presence.numtide.com" 79 - 80 - Component "event_sync.pinpox" "event_sync_component" 81 - muc_component = "conference.jitsi.lassul.us" 82 - breakout_component = "breakout.jitsi.lassul.us" 83 - 84 - api_prefix = "http://matrixpresence.0cx.de:8227" 85 - 86 - Component "event_sync.pinpox2" "event_sync_component" 87 - muc_component = "conference.jitsi.lassul.us" 88 - breakout_component = "breakout.jitsi.lassul.us" 89 - 90 - api_prefix = "http://matrixpresence.0cx.de:8226" 91 - ''; 92 - 93 - krebs.iptables.tables.filter.INPUT.rules = [ 94 - { 95 - predicate = "-p tcp --dport 4443"; 96 - target = "ACCEPT"; 97 - } 98 - { 99 - predicate = "-p udp --dport 10000"; 100 - target = "ACCEPT"; 101 - } 102 - { 103 - predicate = "-p tcp --dport 10000"; 104 - target = "ACCEPT"; 105 - } 106 - ]; 40 + networking.firewall.allowedUDPPorts = [ 10000 ]; 107 41 }