1
1
Fork 0

Try Jitsi out

main
Bill Ewanick 2023-04-08 22:38:32 -04:00
parent b27d9e3c26
commit 65e397b4d7
2 changed files with 41 additions and 4 deletions

View File

@ -0,0 +1,36 @@
{
services.jitsi-meet = {
enable = true;
hostName = "jitsi.crueltysquad.com";
config = {
enableWelcomePage = false;
prejoinPageEnabled = true;
};
interfaceConfig = {
SHOW_JITSI_WATERMARK = false;
SHOW_WATERMARK_FOR_GUESTS = false;
};
jicofo.enable = true;
jibri.enable = true;
caddy.enable = true;
nginx.enable = false;
};
services.jitsi-videobridge.enable = true;
services.jitsi-videobridge.openFirewall = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
security.acme.email = "me@example.com";
security.acme.acceptTerms = true;
# services.caddy = {
# enable = true;
# virtualHosts = {
# "git.ewanick.com" = {
# extraConfig = ''
# reverse_proxy localhost:3000
# '';
# };
# };
# };
}

View File

@ -14,6 +14,7 @@
../nixos-apps/ewanick.com.nix ../nixos-apps/ewanick.com.nix
../nixos-apps/git.ewanick.com.nix ../nixos-apps/git.ewanick.com.nix
../nixos-apps/crueltysquad.com.nix ../nixos-apps/crueltysquad.com.nix
../nixos-apps/jitsi.crueltysquad.com.nix
../nixos-apps/cutesealfanpage.love.nix ../nixos-apps/cutesealfanpage.love.nix
../nixos-apps/fancytypist.com.nix ../nixos-apps/fancytypist.com.nix
]; ];
@ -87,10 +88,10 @@
# Enable Nix-ld for remote VSCode SSH to work # Enable Nix-ld for remote VSCode SSH to work
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
environment.variables = { environment.variables = {
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [ NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
pkgs.stdenv.cc.cc pkgs.stdenv.cc.cc
]; ];
NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker"; NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
}; };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.