2016-02-14 13:38:47 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
out = {
|
|
|
|
options.krebs.lib = api;
|
2016-02-15 16:27:11 +01:00
|
|
|
config = imp;
|
2016-02-14 13:38:47 +01:00
|
|
|
};
|
|
|
|
api = mkOption {
|
|
|
|
default = {};
|
|
|
|
type = types.attrs;
|
|
|
|
};
|
2016-02-15 16:27:11 +01:00
|
|
|
imp = {
|
2016-02-21 07:39:24 +01:00
|
|
|
krebs.lib = lib // import ../4lib { inherit config lib; } // builtins;
|
2016-02-15 16:27:11 +01:00
|
|
|
};
|
2016-02-14 13:38:47 +01:00
|
|
|
in out
|