From 9b0c8702e9e964026136e8500537c317836fedad Mon Sep 17 00:00:00 2001 From: pagedMov Date: Sat, 2 Nov 2024 17:17:16 -0400 Subject: [PATCH 1/2] open port no longer declared in networking.nix, moved to server/config.nix --- hosts/server/config.nix | 3 +++ modules/sys/hardware/network.nix | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/server/config.nix b/hosts/server/config.nix index 4971ccd..24c0e76 100755 --- a/hosts/server/config.nix +++ b/hosts/server/config.nix @@ -17,6 +17,9 @@ jellyfinConfig.enable = true; caddyConfig.enable = true; + networking.firewall = { + allowedTCPPorts = [ 443 ]; + }; environment = { etc."tmpfiles.d/home-permissions.conf".text = '' d /home/pagedmov 0750 pagedmov users - diff --git a/modules/sys/hardware/network.nix b/modules/sys/hardware/network.nix index 8acbab2..db8e3ce 100755 --- a/modules/sys/hardware/network.nix +++ b/modules/sys/hardware/network.nix @@ -14,7 +14,6 @@ }; firewall = { enable = true; - allowedTCPPorts = [ 443 ]; }; }; }; From fb750db7b6600058b518b58f1e3af1be8e24f283 Mon Sep 17 00:00:00 2001 From: pagedMov Date: Sun, 3 Nov 2024 01:47:19 -0400 Subject: [PATCH 2/2] changed open ports --- hosts/server/config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/server/config.nix b/hosts/server/config.nix index 24c0e76..6a01ed4 100755 --- a/hosts/server/config.nix +++ b/hosts/server/config.nix @@ -18,7 +18,7 @@ caddyConfig.enable = true; networking.firewall = { - allowedTCPPorts = [ 443 ]; + allowedTCPPorts = [ 443 8920 ]; }; environment = { etc."tmpfiles.d/home-permissions.conf".text = ''