MyNixOS website logo
option

networking.nftables.preCheckRuleset

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.

Declarations
Type
strings concatenated with "\n"
Default
""
Example
# replace users/groups that don't exist in the test
sed 's/skgid meadow/skgid root/g' -i ruleset.conf