summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-27 02:55:06 +0200
committertv <tv@krebsco.de>2015-07-27 02:55:06 +0200
commitc26cb221ff500647aa1758a7220184093f45dd82 (patch)
tree20c09816a13bc60954f2e11d97c5ce15e65227f1
parent4d87f34e3eb0f8dfe95cee93599380e1b451f2e1 (diff)
3 krebs.build += {deploy,deps}
-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 70d4549..e385244 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;
};