move Jitsi to VEGAS
This commit is contained in:
parent
00084be991
commit
95d88f9a15
2 changed files with 26 additions and 0 deletions
25
hosts/VEGAS/services/meet/default.nix
Normal file
25
hosts/VEGAS/services/meet/default.nix
Normal 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";
|
||||
};
|
||||
});
|
||||
}
|
|
@ -25,6 +25,7 @@
|
|||
./services/git
|
||||
./services/ipfs
|
||||
./services/jokes
|
||||
./services/meet
|
||||
./services/nextcloud
|
||||
./services/nfs
|
||||
./services/mail
|
||||
|
|
Loading…
Reference in a new issue