networking.firewall.package
NixOS option
The package to use for running the firewall service.
type: packageDefault
if config.networking.nftables.enable then "pkgs.nftables" else "pkgs.iptables"
Example
declared in: nixos/modules/services/networking/firewall.nixView source on NixOS/nixpkgs →pkgs.iptables-legacy