summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-08-31 20:05:05 +0200
committertv <tv@krebsco.de>2017-08-31 20:05:05 +0200
commit30864205c4e07823f93a85fb813196b5096f8692 (patch)
tree6fc13127899a62be53d4e728713939bcbf400448 /lib
parenteb2d780e5c4c5aee09153c56ea6150414c1c6db1 (diff)
parentaf0696b9987d3ff0783cdd69d26a903c1ea92004 (diff)
Merge derp
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 8c6846887..70570a6b3 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -31,9 +31,20 @@ rec {
default = null;
};
- managed = mkOption {
+ ci = mkOption {
description = ''
- If true, then the host's configuration is defined in stockholm.
+ If true, then the host wants to be tested by some CI system.
+ See <stockholm/krebs/2configs/buildbot-all.nix>
+ '';
+ type = bool;
+ default = false;
+ };
+
+ external = mkOption {
+ description = ''
+ Whether the host is defined externally (in contrast to being defined
+ in <stockholm>). This is useful e.g. when legacy and/or adopted
+ hosts should be part of retiolum or some other component.
'';
type = bool;
default = false;