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