diff --git a/nixos/machines/ghatanothoa/configuration.nix b/nixos/machines/ghatanothoa/configuration.nix index 22aa65b..54f3211 100644 --- a/nixos/machines/ghatanothoa/configuration.nix +++ b/nixos/machines/ghatanothoa/configuration.nix @@ -3,6 +3,7 @@ flake-inputs: imports = [ ./hardware-configuration.nix + (import ./jitsi.nix flake-inputs) ../../roles ./network.nix ]; diff --git a/nixos/machines/ghatanothoa/jitsi.nix b/nixos/machines/ghatanothoa/jitsi.nix new file mode 100644 index 0000000..d6692bc --- /dev/null +++ b/nixos/machines/ghatanothoa/jitsi.nix @@ -0,0 +1,17 @@ +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.nginx.virtualHosts."meet.mathebau.de".enableACME = false; + services.nginx.virtualHosts."meet.mathebau.de".forceSSL = false; + services.jitsi-videobridge.openFirewall = true; + networking.firewall.allowedTCPPorts = [ 80 ]; +}