diff options
| author | lassulus <lassulus@lassul.us> | 2018-04-27 15:14:59 +0200 | 
|---|---|---|
| committer | lassulus <lassulus@lassul.us> | 2018-04-27 15:14:59 +0200 | 
| commit | b1982d73e145eec0833328c125c0b88b1dda1229 (patch) | |
| tree | f2b6901f575aa4dd28e4fc0830a1db29b66a93e9 | |
| parent | 20fb67217444bb3e74f3c20f8ef143e0fcef858f (diff) | |
types host: add monitoring bool
| -rw-r--r-- | lib/types.nix | 8 | 
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;        }; | 
