stockholm/krebs/3modules/lib.nix
2016-02-21 07:39:24 +01:00

16 lines
267 B
Nix

{ config, pkgs, lib, ... }:
with lib;
let
out = {
options.krebs.lib = api;
config = imp;
};
api = mkOption {
default = {};
type = types.attrs;
};
imp = {
krebs.lib = lib // import ../4lib { inherit config lib; } // builtins;
};
in out