nixos: block all ports on the firewall

This commit is contained in:
Nico 2025-05-03 16:16:01 +10:00
parent 0c44f58311
commit f5d55c6a60

View file

@ -12,6 +12,11 @@
# Networking # Networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
# Firewall
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ ];
networking.firewall.allowedUDPPorts = [ ];
# Set your time zone. # Set your time zone.
time.timeZone = "Australia/Sydney"; time.timeZone = "Australia/Sydney";