nixos/modules/security/firewall.nix

9 lines
192 B
Nix
Raw Normal View History

{
# Deny all, specific modules may open things
networking.nftables.enable = true;
networking.firewall = {
enable = true;
allowedTCPPorts = [ ];
allowedUDPPorts = [ ];
};
}