summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-11-15 15:48:15 +0100
committerlassulus <lassulus@lassul.us>2022-11-15 15:48:33 +0100
commit16d2c2e23d2b5d5f75b820285aa038a4d15342cc (patch)
treebd52e50d05a235f5c39a5a601a13c4f224247e6e /lib
parent3a65e49a98fc1721cbc34859a18d324789abfeee (diff)
lib.host: add consul option
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index f312b73..0e0e093 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -58,6 +58,14 @@ rec {
default = false;
};
+ consul = mkOption {
+ description = ''
+ Whether the host is a member of the global consul network
+ '';
+ type = bool;
+ default = false;
+ };
+
owner = mkOption {
type = user;
};