From c00be241bd946efcf84b4d865f1d5a7928d0c45e Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sun, 14 Jan 2024 13:44:29 +0100 Subject: [PATCH] Add invidious --- nixos-configurations/server/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nixos-configurations/server/default.nix b/nixos-configurations/server/default.nix index 8d03734..df2a2f9 100644 --- a/nixos-configurations/server/default.nix +++ b/nixos-configurations/server/default.nix @@ -43,8 +43,8 @@ networking = { hostName = "server"; firewall = { - allowedTCPPorts = [ 80 443 25565 ]; - allowedUDPPorts = [ 80 443 25565 ]; + allowedTCPPorts = [ 80 443 25565 3232 ]; + allowedUDPPorts = [ 80 443 25565 3232 ]; }; }; @@ -135,6 +135,12 @@ HTTP_PORT = 3001; }; }; + invidious = { + enable = true; + port = 3232; + domain = "invidious.thilohohlt.com"; + nginx.enable = true; + }; postgresql = { enable = true; package = pkgs.postgresql_15;