networking.nftables.extraDeletions

NixOS option

Extra deletion commands to be run on every firewall start, reload and after stopping the firewall.

type: strings concatenated with "\n"
Default
""
Example
''
  # this makes deleting a non-existing table a no-op instead of an error
  table inet some-table;
  
  delete table inet some-table;
''
declared in: nixos/modules/services/networking/nftables.nixView source on NixOS/nixpkgs →