networking.nftables.preCheckRuleset
NixOS option
This script gets run before the ruleset is checked. It can be used to create additional files needed for the ruleset check to work, or modify the ruleset for cases the build environment cannot cover.
type: strings concatenated with "\n"Default
""
Example
declared in: nixos/modules/services/networking/nftables.nixView source on NixOS/nixpkgs →# replace users/groups that don't exist in the test sed 's/skgid meadow/skgid root/g' -i ruleset.conf