summaryrefslogtreecommitdiffstats
path: root/lib/types.nix
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
commit1db7318c3f4e8a50f07e45ae458ab8fcca6686cb (patch)
tree2a55c8c9ed8366865accf3b88b12eb412d8cb237 /lib/types.nix
parent25a384254b15433dfeb67ec03ef7416b1baef5df (diff)
lib.host: add consul option
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index f312b734b..0e0e093fb 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;
};