summaryrefslogtreecommitdiffstats
path: root/3modules/krebs/default.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-27 02:55:06 +0200
committertv <tv@shackspace.de>2015-07-27 02:55:06 +0200
commita952f015a860c62046a22ca194d0d841390e7132 (patch)
tree017e58e6c54fb54fd0bf3724212c8dc725503fb7 /3modules/krebs/default.nix
parentba9bb738170dda787473ead118ad2e049b3714ab (diff)
3 krebs.build += {deploy,deps}
Diffstat (limited to '3modules/krebs/default.nix')
-rw-r--r--3modules/krebs/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/3modules/krebs/default.nix b/3modules/krebs/default.nix
index 70d454971..e385244d5 100644
--- a/3modules/krebs/default.nix
+++ b/3modules/krebs/default.nix
@@ -22,6 +22,24 @@ let
build = mkOption {
type = types.submodule {
options = {
+ deploy = mkOption {
+ type = with types; nullOr str;
+ default = null;
+ };
+ deps = mkOption {
+ type = with types; attrsOf (submodule {
+ options = {
+ url = mkOption {
+ type = either str path;
+ };
+ rev = mkOption {
+ type = nullOr str;
+ default = null;
+ };
+ };
+ });
+ default = {};
+ };
host = mkOption {
type = types.host;
};