diff --git a/nixos-apps/jitsi.crueltysquad.com.nix b/nixos-apps/jitsi.crueltysquad.com.nix new file mode 100644 index 0000000..59d7f9c --- /dev/null +++ b/nixos-apps/jitsi.crueltysquad.com.nix @@ -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 +# ''; +# }; +# }; +# }; +} diff --git a/server-config/configuration.nix b/server-config/configuration.nix index 1c69a01..85a4f8f 100644 --- a/server-config/configuration.nix +++ b/server-config/configuration.nix @@ -14,6 +14,7 @@ ../nixos-apps/ewanick.com.nix ../nixos-apps/git.ewanick.com.nix ../nixos-apps/crueltysquad.com.nix + ../nixos-apps/jitsi.crueltysquad.com.nix ../nixos-apps/cutesealfanpage.love.nix ../nixos-apps/fancytypist.com.nix ]; @@ -87,10 +88,10 @@ # Enable Nix-ld for remote VSCode SSH to work programs.nix-ld.enable = true; environment.variables = { - NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [ - pkgs.stdenv.cc.cc - ]; - NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker"; + NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [ + pkgs.stdenv.cc.cc + ]; + NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker"; }; # Enable the OpenSSH daemon.