Jitsi konfiguriert

This commit is contained in:
Gonne Kretschmer 2023-10-20 11:04:40 +02:00
parent e8929ff159
commit 4318950142
2 changed files with 24 additions and 0 deletions

View file

@ -3,6 +3,7 @@ flake-inputs:
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
(import ./jitsi.nix flake-inputs)
../../roles ../../roles
./network.nix ./network.nix
]; ];

View file

@ -0,0 +1,23 @@
flake-inputs:
{pkgs, config, lib, modulesPath, ...}: {
imports = [(modulesPath + "/services/web-apps/jitsi-meet.nix")];
services.jitsi-meet = {
enable = true;
hostName = "meet.mathebau.de";
config = {
defaultLang = "de";
};
};
services.jitsi-videobridge = {
openFirewall = true;
nat = {
publicAddress = "130.83.2.184";
localAddress = "192.168.0.25";
};
};
services.nginx.virtualHosts."meet.mathebau.de".enableACME = false;
services.nginx.virtualHosts."meet.mathebau.de".forceSSL = false;
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 10000 ];
}