From d44ef254fa1d3ae89c242aa5cdac89cc671dfcb4 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 19 Jul 2024 11:45:38 +0200 Subject: [PATCH] feat: update allowed TCP port in sgx network configuration This commit updates the allowed TCP port for networking in the SGX configuration file. Instead of hardcoding the port number, it now uses the port specified in the netatalk configuration. This change enables more flexibility in port assignment and reduces potential conflicts. --- systems/x86_64-linux/sgx/network.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/x86_64-linux/sgx/network.nix b/systems/x86_64-linux/sgx/network.nix index 3ad13c7..d19a01d 100644 --- a/systems/x86_64-linux/sgx/network.nix +++ b/systems/x86_64-linux/sgx/network.nix @@ -37,6 +37,6 @@ }; }; - networking.firewall.allowedTCPPorts = [ 548 ]; + networking.firewall.allowedTCPPorts = [ config.services.netatalk.port ]; networking.firewall.allowPing = true; }