tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/pixiecore: fix port 4011 from tcp to udp
Nuno Alves
2 years ago
601e2035
3d1703e5
+3
-3
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
pixiecore.nix
+3
-3
nixos/modules/services/networking/pixiecore.nix
···
16
16
type = types.bool;
17
17
default = false;
18
18
description = lib.mdDoc ''
19
19
-
Open ports (67, 69 UDP and 4011, 'port', 'statusPort' TCP) in the firewall for Pixiecore.
19
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
106
-
allowedTCPPorts = [ 4011 cfg.port cfg.statusPort ];
107
107
-
allowedUDPPorts = [ 67 69 ];
106
106
+
allowedTCPPorts = [ cfg.port cfg.statusPort ];
107
107
+
allowedUDPPorts = [ 67 69 4011 ];
108
108
};
109
109
110
110
systemd.services.pixiecore = {