summaryrefslogtreecommitdiffstats
path: root/tv/3modules/iptables.nix
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-01-09 17:14:51 +0100
committerlassulus <lass@lassul.us>2017-01-09 17:14:51 +0100
commit2e72ce83674b6e0362f0ed6789cba47a671476cd (patch)
tree4311c7137602cc2133d60dc91c268e0dc571512a /tv/3modules/iptables.nix
parent44800f5ca9b79d64836cb1bb4c318b64182ad6aa (diff)
parent9779351be952095ed55ad4ccee98452a8838cfb9 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/3modules/iptables.nix')
-rw-r--r--tv/3modules/iptables.nix16
1 files changed, 3 insertions, 13 deletions
diff --git a/tv/3modules/iptables.nix b/tv/3modules/iptables.nix
index 7276726ca..803ed6fbf 100644
--- a/tv/3modules/iptables.nix
+++ b/tv/3modules/iptables.nix
@@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
with import <stockholm/lib>;
-let
+let {
cfg = config.tv.iptables;
- out = {
+ body = {
options.tv.iptables = api;
config = lib.mkIf cfg.enable imp;
};
@@ -146,14 +146,4 @@ let
)}
COMMIT
'';
-in out
-
-#let
-# cfg = config.tv.iptables;
-# arg' = arg // { inherit cfg; };
-#in
-#
-#{
-# options.tv.iptables = import ./options.nix arg';
-# config = lib.mkIf cfg.enable (import ./config.nix arg');
-#}
+}