summaryrefslogtreecommitdiffstats
path: root/tv/3modules/iptables.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-14 16:43:44 +0100
committertv <tv@krebsco.de>2016-02-14 16:43:44 +0100
commit673853e092c211e26a08030f87f9c868c6442a71 (patch)
treec71d2ac88a48cd74c37f03d1665e666030500d1d /tv/3modules/iptables.nix
parent9f16d7ea71a2566b973ad0ac603c63ac3c6f4311 (diff)
RIP specialArgs.lib
Diffstat (limited to 'tv/3modules/iptables.nix')
-rw-r--r--tv/3modules/iptables.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/tv/3modules/iptables.nix b/tv/3modules/iptables.nix
index 4924db4f3..c0fd7ec12 100644
--- a/tv/3modules/iptables.nix
+++ b/tv/3modules/iptables.nix
@@ -1,13 +1,12 @@
{ config, lib, pkgs, ... }:
-with builtins;
-with lib;
+with config.krebs.lib;
let
cfg = config.tv.iptables;
out = {
options.tv.iptables = api;
- config = mkIf cfg.enable imp;
+ config = lib.mkIf cfg.enable imp;
};
api = {