nixos/pixiecore: fix port 4011 from tcp to udp

This commit is contained in:
Nuno Alves 2023-08-29 11:43:19 +01:00
parent 3d1703e576
commit 601e20354e
No known key found for this signature in database
GPG Key ID: F214F1C2CAD671BF

View File

@ -16,7 +16,7 @@ in
type = types.bool;
default = false;
description = lib.mdDoc ''
Open ports (67, 69 UDP and 4011, 'port', 'statusPort' TCP) in the firewall for Pixiecore.
Open ports (67, 69, 4011 UDP and 'port', 'statusPort' TCP) in the firewall for Pixiecore.
'';
};
@ -103,8 +103,8 @@ in
};
networking.firewall = mkIf cfg.openFirewall {
allowedTCPPorts = [ 4011 cfg.port cfg.statusPort ];
allowedUDPPorts = [ 67 69 ];
allowedTCPPorts = [ cfg.port cfg.statusPort ];
allowedUDPPorts = [ 67 69 4011 ];
};
systemd.services.pixiecore = {