summaryrefslogtreecommitdiff
path: root/services/firewall.nix
blob: 51e33869c3886866df43898508787d2e6cb11c6a (plain)
1
2
3
4
5
6
7
{ config, ... }:
{
  # Firewall configuration
  networking.firewall.enable = false;
  networking.nftables.enable = true;
  networking.nftables.rulesetFile = builtins.toPath "/etc/nixos/${config.networking.hostName}/nftables-rules.nft";
}