From d38ef7b296ca6c0b26c0e9699ac9ba43e8434380 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 16 Aug 2024 14:58:34 -0400 Subject: [PATCH] system: Always allow dnsmasq ports Simplifies things a bit. --- modules/system.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/system.nix b/modules/system.nix index 104532da..1c7e7c0b 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -249,12 +249,10 @@ in }; firewall = { - allowedUDPPorts = - optional phone [ - 67 - 68 - ] - ++ optional allowSRB2Port [ 5029 ]; + allowedUDPPorts = [ + 67 + 68 + ] ++ optional allowSRB2Port [ 5029 ]; allowedTCPPorts = mkIf allowDevPort [ 3000 ]; };