diff options
author | lassulus <lass@aidsballs.de> | 2015-10-25 21:27:26 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-25 21:27:26 +0100 |
commit | 43b856994ff2501562081152260d22626cea10f7 (patch) | |
tree | 102f201bd27ae705c842b2cc786b20cf8e394903 /krebs/3modules/current.nix | |
parent | cc5220a4477e290f1833e609fed1e0f9f56e4a41 (diff) | |
parent | 4b22988392f940c705e7f3fddc39481635777895 (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'krebs/3modules/current.nix')
-rw-r--r-- | krebs/3modules/current.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/krebs/3modules/current.nix b/krebs/3modules/current.nix new file mode 100644 index 000000000..41941e289 --- /dev/null +++ b/krebs/3modules/current.nix @@ -0,0 +1,26 @@ +{ config, pkgs, lib, ... }: + +with lib; + +let + cfg = config.krebs.current; + + out = { + options.krebs.current = api; + config = mkIf cfg.enable imp; + }; + + api = { + enable = mkEnableOption "krebs.current"; + host = mkOption { + type = types.host; + }; + user = mkOption { + type = types.user; + }; + }; + + imp = { + }; + +in out |