add firewallgen package, which creates an nft script

This commit is contained in:
Daniel Barlow
2023-06-18 17:40:16 +01:00
parent 994cca671b
commit 80639a7256
4 changed files with 184 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
let
pkgs = import <nixpkgs> { overlays = [( import ../../overlay.nix)]; };
ruleset = import ./test-rules-min.nix;
in pkgs.firewallgen "firewall.nft" ruleset