summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/lib.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-14 13:38:47 +0100
committertv <tv@krebsco.de>2016-02-14 16:20:10 +0100
commit9f16d7ea71a2566b973ad0ac603c63ac3c6f4311 (patch)
tree2b75b3f6907ba76ad5bb4bf6d2b72c5a479ffc12 /krebs/3modules/lib.nix
parent6150679d748c1996694011ba20b8c0a27004f955 (diff)
krebs.lib: init
Diffstat (limited to 'krebs/3modules/lib.nix')
-rw-r--r--krebs/3modules/lib.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/krebs/3modules/lib.nix b/krebs/3modules/lib.nix
new file mode 100644
index 000000000..31390a263
--- /dev/null
+++ b/krebs/3modules/lib.nix
@@ -0,0 +1,11 @@
+{ config, pkgs, lib, ... }:
+with lib;
+let
+ out = {
+ options.krebs.lib = api;
+ };
+ api = mkOption {
+ default = {};
+ type = types.attrs;
+ };
+in out