summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-08-31 19:45:58 +0200
committerlassulus <lassulus@lassul.us>2017-08-31 19:45:58 +0200
commitb0ad8ceec470b58a55a2fd0b906ebaa797ba02eb (patch)
tree068d5412b654ebe34220e7a1816c4785f890f217
parent7cc525b9157fea2b577ba1ded5cfa214c79c673d (diff)
types.host: add external bool
-rw-r--r--lib/types.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index a9563cc..70570a6 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 <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;
+ };
+
owner = mkOption {
type = user;
};