forked from M-Labs/it-infra
nixbld: install jitsi
This commit is contained in:
parent
5322606804
commit
420796a547
@ -10,6 +10,10 @@ let
|
||||
netifWifi = "wlp1s0";
|
||||
netifSit = "henet0";
|
||||
hydraWwwOutputs = "/var/www/hydra-outputs";
|
||||
nur-no-pkgs = import (builtins.fetchTarball {
|
||||
url = "https://github.com/nix-community/NUR/archive/bb3e415984e818099cd72776dc18dbbbb61cd364.tar.gz";
|
||||
sha256 = "10mlxc4hj7nn3i766mjgjn9f1523w2v8msq895p7qp2j2wbx7b3g";
|
||||
}) {};
|
||||
in
|
||||
{
|
||||
imports =
|
||||
@ -20,6 +24,7 @@ in
|
||||
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/v2.3.0/nixos-mailserver-v2.3.0.tar.gz";
|
||||
sha256 = "0lpz08qviccvpfws2nm83n7m2r8add2wvfg9bljx9yxx8107r919";
|
||||
})
|
||||
nur-no-pkgs.repos.mmilata.modules.jitsi-meet
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
@ -422,6 +427,7 @@ in
|
||||
"hooks.m-labs.hk" = null;
|
||||
"forum.m-labs.hk" = null;
|
||||
"perso.m-labs.hk" = null;
|
||||
"call.m-labs.hk" = null;
|
||||
"nmigen.org" = null;
|
||||
"www.nmigen.org" = null;
|
||||
|
||||
@ -578,6 +584,10 @@ in
|
||||
include /var/www/flarum/.nginx.conf;
|
||||
'';
|
||||
};
|
||||
"call.m-labs.hk" = {
|
||||
useACMEHost = "nixbld.m-labs.hk";
|
||||
forceSSL = true;
|
||||
};
|
||||
"perso.m-labs.hk" = {
|
||||
addSSL = true;
|
||||
useACMEHost = "nixbld.m-labs.hk";
|
||||
@ -638,6 +648,11 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
services.jitsi-meet = {
|
||||
enable = true;
|
||||
hostName = "call.m-labs.hk";
|
||||
};
|
||||
|
||||
mailserver = {
|
||||
enable = true;
|
||||
localDnsResolver = false; # conflicts with dnsmasq
|
||||
|
Loading…
Reference in New Issue
Block a user