move Jitsi to VEGAS

This commit is contained in:
Max Headroom 2021-10-16 20:24:57 +02:00
parent 00084be991
commit 95d88f9a15
2 changed files with 26 additions and 0 deletions

View file

@ -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";
};
});
}

View file

@ -25,6 +25,7 @@
./services/git
./services/ipfs
./services/jokes
./services/meet
./services/nextcloud
./services/nfs
./services/mail