diff options
author | tv <tv@krebsco.de> | 2015-07-27 02:55:06 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-27 02:55:06 +0200 |
commit | c26cb221ff500647aa1758a7220184093f45dd82 (patch) | |
tree | 20c09816a13bc60954f2e11d97c5ce15e65227f1 /3modules | |
parent | 4d87f34e3eb0f8dfe95cee93599380e1b451f2e1 (diff) |
3 krebs.build += {deploy,deps}
Diffstat (limited to '3modules')
-rw-r--r-- | 3modules/krebs/default.nix | 18 |
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; }; |