7 lines
234 B
Nix
7 lines
234 B
Nix
{
|
|
# Open ports in the firewall.
|
|
networking.firewall.allowedTCPPorts = [8080 10001 10002];
|
|
networking.firewall.allowedUDPPorts = [8080 10001 10002];
|
|
# Or disable the firewall altogether.
|
|
networking.firewall.enable = false;
|
|
}
|