summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/lib.nix
diff options
context:
space:
mode:
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