nixos-config/system/security/firewall.nix
2024-07-23 22:43:22 +08:00

10 lines
176 B
Nix

{ ... }:
{
# Firewall
networking.firewall.enable = true;
# Open ports in the firewall.
# Or disable the firewall altogether.
# networking.firewall.enable = false;
}