Merge pull request #252117 from nalves599/252116-pixiecore-firewall

authored by Ryan Lahfa and committed by GitHub ff3b4803 cbd983e1

+3 -3
+3 -3
nixos/modules/services/networking/pixiecore.nix
··· 16 16 type = types.bool; 17 17 default = false; 18 18 description = lib.mdDoc '' 19 - Open ports (67, 69 UDP and 4011, 'port', 'statusPort' TCP) in the firewall for Pixiecore. 19 + Open ports (67, 69, 4011 UDP and 'port', 'statusPort' TCP) in the firewall for Pixiecore. 20 20 ''; 21 21 }; 22 22 ··· 103 103 }; 104 104 105 105 networking.firewall = mkIf cfg.openFirewall { 106 - allowedTCPPorts = [ 4011 cfg.port cfg.statusPort ]; 107 - allowedUDPPorts = [ 67 69 ]; 106 + allowedTCPPorts = [ cfg.port cfg.statusPort ]; 107 + allowedUDPPorts = [ 67 69 4011 ]; 108 108 }; 109 109 110 110 systemd.services.pixiecore = {