networking.nftables.checkRuleset
Run nft check on the ruleset to spot syntax errors during build.
Because this is executed in a sandbox, the check might fail if it requires
access to any environmental factors or paths outside the Nix store.
To circumvent this, the ruleset file can be edited using the preCheckRuleset
option to work in the sandbox environment.
- Type
boolean- Default
true- Declared
- <nixpkgs/nixos/modules/services/networking/nftables.nix>