This repository has no description
1.3 kB
47 lines
1{ ... }:
2{
3
4 nixpkgs.config.permittedInsecurePackages = [
5 "jitsi-meet-1.0.8792"
6 ];
7 services.jitsi-meet = {
8 enable = true;
9 hostName = "jitsi.lassul.us";
10 config = {
11 enableWelcomePage = true;
12 requireDisplayName = true;
13 analytics.disabled = true;
14 stunServers = [
15 # - https://www.kuketz-blog.de/jitsi-meet-server-einstellungen-fuer-einen-datenschutzfreundlichen-betrieb/
16 { urls = "turn:turn.matrix.org:3478?transport=udp"; }
17 { urls = "turn:turn.matrix.org:3478?transport=tcp"; }
18 ];
19 };
20 interfaceConfig = {
21 SHOW_JITSI_WATERMARK = false;
22 SHOW_WATERMARK_FOR_GUESTS = false;
23 GENERATE_ROOMNAMES_ON_WELCOME_PAGE = false;
24 DISABLE_PRESENCE_STATUS = true;
25 DEFAULT_REMOTE_DISPLAY_NAME = "Fellow Nixer";
26 };
27 };
28
29 # Disable AWS harvester (not needed)
30 services.jitsi-videobridge.extraProperties = {
31 "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER" = "true";
32 };
33
34 services.prosody.checkConfig = false;
35
36 services.nginx.virtualHosts."meet.lassul.us" = {
37 enableACME = true;
38 addSSL = true;
39 locations."/".return = "301 https://jitsi.lassul.us$request_uri";
40 };
41
42 networking.firewall.allowedTCPPorts = [
43 4443
44 10000
45 ];
46 networking.firewall.allowedUDPPorts = [ 10000 ];
47}