From a952f015a860c62046a22ca194d0d841390e7132 Mon Sep 17 00:00:00 2001
From: tv <tv@shackspace.de>
Date: Mon, 27 Jul 2015 02:55:06 +0200
Subject: [PATCH] 3 krebs.build += {deploy,deps}

---
 3modules/krebs/default.nix | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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;
           };