diff --git a/hosts/VEGAS/services/meet/default.nix b/hosts/VEGAS/services/meet/default.nix new file mode 100644 index 0000000..79187a7 --- /dev/null +++ b/hosts/VEGAS/services/meet/default.nix @@ -0,0 +1,25 @@ +{ lib, tools, ... }: +{ + services.jitsi-meet = { + enable = true; + hostName = "meet.${tools.meta.domain}"; + nginx.enable = true; + jicofo.enable = true; + videobridge.enable = true; + prosody.enable = true; + config.p2p.enabled = false; + }; + services.nginx.virtualHosts."meet.${tools.meta.domain}" = { + enableACME = true; + forceSSL = true; + locations."=/images/watermark.svg" = { + return = "200"; + }; + }; + systemd.services = lib.genAttrs [ "jicofo" "jitsi-meet-init-secrets" "jitsi-videobridge2" "prosody" ] (_: { + serviceConfig = { + LogNamespace = "meet"; + Slice = "communications.slice"; + }; + }); +} diff --git a/hosts/VEGAS/system.nix b/hosts/VEGAS/system.nix index 87eba72..1e371e4 100644 --- a/hosts/VEGAS/system.nix +++ b/hosts/VEGAS/system.nix @@ -25,6 +25,7 @@ ./services/git ./services/ipfs ./services/jokes + ./services/meet ./services/nextcloud ./services/nfs ./services/mail