From dbc9889f82467b4740b649c4baefc80c352fa2f1 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 31 Aug 2017 19:15:09 +0200 Subject: types.host: managed -> ci --- lib/types.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/types.nix b/lib/types.nix index 8c6846887..a9563ccc5 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -31,9 +31,10 @@ 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 ''; type = bool; default = false; -- cgit v1.2.3 From bd09ea6e3b0408313fdd2787e557e7e02ab8ff86 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 31 Aug 2017 19:45:58 +0200 Subject: types.host: add external bool --- lib/types.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib') diff --git a/lib/types.nix b/lib/types.nix index a9563ccc5..70570a6b3 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -40,6 +40,16 @@ rec { default = false; }; + external = mkOption { + description = '' + Whether the host is defined externally (in contrast to being defined + in ). This is useful e.g. when legacy and/or adopted + hosts should be part of retiolum or some other component. + ''; + type = bool; + default = false; + }; + owner = mkOption { type = user; }; -- cgit v1.2.3