summaryrefslogtreecommitdiffstats
path: root/makefu/3modules/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-07-28 20:19:54 +0200
committermakefu <github@syntax-fehler.de>2015-07-28 20:19:54 +0200
commit0b00e7e70eefd3b22b65a29506003bd984dfb6f2 (patch)
tree8cd21d808f0d432f4dca31b94ba992a1983ae5f6 /makefu/3modules/default.nix
parent5e8b783d0a71c08999aa033a0c8997ca0d8ba1cd (diff)
makefu:rename to user-toplevel structure
Diffstat (limited to 'makefu/3modules/default.nix')
-rw-r--r--makefu/3modules/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/makefu/3modules/default.nix b/makefu/3modules/default.nix
new file mode 100644
index 000000000..45ca8c3eb
--- /dev/null
+++ b/makefu/3modules/default.nix
@@ -0,0 +1,19 @@
+{ config, lib, ... }:
+
+with import ../../4lib/krebs { inherit lib; };
+let
+ cfg = config.krebs;
+
+ out = {
+ imports = [
+ ];
+ options.krebs = api;
+ config = mkIf cfg.enable imp;
+ };
+
+ api = { };
+
+ imp = { };
+
+in
+out