Loading
nixos/nftables: replace script with file
nftables service successfully restarts or reloads if the file `/var/lib/nftables/deletions.nft` is on a partition that was mounted as noexec, and delete previous rules. Instead of writing a deletion script, the service creates a simple file where nftables rules are written to that is used as an argument for the `nft` command to delete rules upon stop,restart, or reload.