diff options
| author | tv <tv@krebsco.de> | 2015-07-16 23:22:30 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2015-07-16 23:22:30 +0200 |
| commit | 6aadd262fc1ec1cb7159da9ee62bd35616ddc23d (patch) | |
| tree | 57983c04bb49fe0375300861111a61cede545794 /old/modules/lass/iptables/options.nix | |
| parent | 546d86da1e3cab814372fc57c83e737617c7fed8 (diff) | |
Goodbye old world, and thanks for all the fish!
Diffstat (limited to 'old/modules/lass/iptables/options.nix')
| -rw-r--r-- | old/modules/lass/iptables/options.nix | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/old/modules/lass/iptables/options.nix b/old/modules/lass/iptables/options.nix deleted file mode 100644 index eb3bfc0..0000000 --- a/old/modules/lass/iptables/options.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib, ... }: - -let - inherit (lib) mkEnableOption mkOption types; -in - -{ - enable = mkEnableOption "iptables"; - - #tables.filter.INPUT = { - # policy = "DROP"; - # rules = [ - # { predicate = "-i retiolum"; target = "ACCEPT"; priority = -10; } - # ]; - #}; - #new api - tables = mkOption { - type = with types; attrsOf (attrsOf (submodule ({ - options = { - policy = mkOption { - type = str; - default = "-"; - }; - rules = mkOption { - type = nullOr (listOf (submodule ({ - options = { - predicate = mkOption { - type = str; - }; - target = mkOption { - type = str; - }; - precedence = mkOption { - type = int; - default = 0; - }; - }; - }))); - default = null; - }; - }; - }))); - }; -} |
