diff options
author | lassulus <lass@aidsballs.de> | 2015-07-13 13:39:49 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-07-16 15:47:28 +0200 |
commit | d629bee9546fa6ed6a018f2b6d491a851ad12738 (patch) | |
tree | 049777923f431beab9b3fd0a5e1c3953f4418451 /old/modules/lass/iptables/default.nix | |
parent | 02261729c0a4108f2fcccf062b603d62f56782bf (diff) |
"rebase"
Diffstat (limited to 'old/modules/lass/iptables/default.nix')
-rw-r--r-- | old/modules/lass/iptables/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/old/modules/lass/iptables/default.nix b/old/modules/lass/iptables/default.nix new file mode 100644 index 000000000..7d46d4563 --- /dev/null +++ b/old/modules/lass/iptables/default.nix @@ -0,0 +1,11 @@ +arg@{ config, lib, pkgs, ... }: + +let + cfg = config.lass.iptables; + arg' = arg // { inherit cfg; }; +in + +{ + options.lass.iptables = import ./options.nix arg'; + config = lib.mkIf cfg.enable (import ./config.nix arg'); +} |