summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-04-27 15:14:59 +0200
committerlassulus <lassulus@lassul.us>2018-04-27 15:14:59 +0200
commitb1982d73e145eec0833328c125c0b88b1dda1229 (patch)
treef2b6901f575aa4dd28e4fc0830a1db29b66a93e9 /lib
parent20fb67217444bb3e74f3c20f8ef143e0fcef858f (diff)
types host: add monitoring bool
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 1cf2d96..d663d25 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -50,6 +50,14 @@ rec {
default = false;
};
+ monitoring = mkOption {
+ description = ''
+ Whether the host should be monitored by monitoring tools like Prometheus.
+ '';
+ type = bool;
+ default = false;
+ };
+
owner = mkOption {
type = user;
};