networking.firewall.package

NixOS option

The package to use for running the firewall service.

type: package
Default
if config.networking.nftables.enable then "pkgs.nftables" else "pkgs.iptables"
Example
pkgs.iptables-legacy
declared in: nixos/modules/services/networking/firewall.nixView source on NixOS/nixpkgs →