3 lass.iptables: refactor imports

This commit is contained in:
lassulus 2015-07-18 13:29:07 +02:00
parent a15a6f93ac
commit e478f140e0

View File

@ -2,7 +2,28 @@ arg@{ config, lib, pkgs, ... }:
let let
inherit (pkgs) writeScript writeText; inherit (pkgs) writeScript writeText;
inherit (lib) concatMapStringsSep concatStringsSep attrNames unique fold any attrValues catAttrs filter flatten length hasAttr mkEnableOption mkOption mkIf types;
inherit (lib)
concatMapStringsSep
concatStringsSep
attrNames
unique
fold
any
attrValues
catAttrs
filter
flatten
length
hasAttr
mkEnableOption
mkOption
mkIf
types
sort;
elemIsIn = a: as:
any (x: x == a) as;
cfg = config.lass.iptables; cfg = config.lass.iptables;