Jitsi konfiguriert
This commit is contained in:
parent
e8929ff159
commit
4318950142
2 changed files with 24 additions and 0 deletions
|
@ -3,6 +3,7 @@ flake-inputs:
|
|||
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
(import ./jitsi.nix flake-inputs)
|
||||
../../roles
|
||||
./network.nix
|
||||
];
|
||||
|
|
23
nixos/machines/ghatanothoa/jitsi.nix
Normal file
23
nixos/machines/ghatanothoa/jitsi.nix
Normal 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 ];
|
||||
}
|
Loading…
Reference in a new issue