This repository has no description
1.1 kB
41 lines
1{ ... }:
2{
3
4 nixpkgs.config.permittedInsecurePackages = [
5 "jitsi-meet-1.0.8043"
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 };
26 };
27
28 services.prosody.checkConfig = false;
29
30 services.nginx.virtualHosts."meet.lassul.us" = {
31 enableACME = true;
32 addSSL = true;
33 locations."/".return = "301 https://jitsi.lassul.us$request_uri";
34 };
35
36 networking.firewall.allowedTCPPorts = [
37 4443
38 10000
39 ];
40 networking.firewall.allowedUDPPorts = [ 10000 ];
41}