summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/lib.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-15 16:27:11 +0100
committertv <tv@krebsco.de>2016-02-15 16:34:50 +0100
commit8f520b19b623919fa6319029a955d43fd051773c (patch)
tree2181809786e54d053532fab2f24b1ff032592e41 /krebs/3modules/lib.nix
parent673853e092c211e26a08030f87f9c868c6442a71 (diff)
don't try to mimic nixpkgs
Diffstat (limited to 'krebs/3modules/lib.nix')
-rw-r--r--krebs/3modules/lib.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/krebs/3modules/lib.nix b/krebs/3modules/lib.nix
index 31390a263..b19f275b5 100644
--- a/krebs/3modules/lib.nix
+++ b/krebs/3modules/lib.nix
@@ -3,9 +3,13 @@ with lib;
let
out = {
options.krebs.lib = api;
+ config = imp;
};
api = mkOption {
default = {};
type = types.attrs;
};
+ imp = {
+ krebs.lib = lib // import ../4lib { inherit lib; } // builtins;
+ };
in out