diff options
author | Ben Kelly <bk@ancilla.ca> | 2018-12-14 19:24:00 -0500 |
---|---|---|
committer | Ben Kelly <btk@google.com> | 2019-02-04 20:17:26 -0500 |
commit | e7c1449ae92646723296bf3da12dcc53af8aa272 (patch) | |
tree | aa32631bbe1f070f7bfd3cc3bb2bc98d954a32cc /nixos/modules | |
parent | c4437fee7e41d54d58ef680546cc8814b0da3575 (diff) | |
download | nixpkgs-e7c1449ae92646723296bf3da12dcc53af8aa272.tar nixpkgs-e7c1449ae92646723296bf3da12dcc53af8aa272.tar.gz nixpkgs-e7c1449ae92646723296bf3da12dcc53af8aa272.tar.bz2 nixpkgs-e7c1449ae92646723296bf3da12dcc53af8aa272.tar.lz nixpkgs-e7c1449ae92646723296bf3da12dcc53af8aa272.tar.xz nixpkgs-e7c1449ae92646723296bf3da12dcc53af8aa272.tar.zst nixpkgs-e7c1449ae92646723296bf3da12dcc53af8aa272.zip |
nixos/munin: add types to Munin options
Some options were missing their types.
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/monitoring/munin.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/nixos/modules/services/monitoring/munin.nix b/nixos/modules/services/monitoring/munin.nix index c65432b4bbf..bf1be56ee9e 100644 --- a/nixos/modules/services/monitoring/munin.nix +++ b/nixos/modules/services/monitoring/munin.nix @@ -134,6 +134,7 @@ in enable = mkOption { default = false; + type = types.bool; description = '' Enable Munin Node agent. Munin node listens on 0.0.0.0 and by default accepts connections only from 127.0.0.1 for security reasons. @@ -241,6 +242,7 @@ in enable = mkOption { default = false; + type = types.bool; description = '' Enable munin-cron. Takes care of all heavy lifting to collect data from nodes and draws graphs to html. Runs munin-update, munin-limits, @@ -253,6 +255,7 @@ in extraGlobalConfig = mkOption { default = ""; + type = types.lines; description = '' <filename>munin.conf</filename> extra global configuration. See <link xlink:href='http://guide.munin-monitoring.org/en/latest/reference/munin.conf.html' />. @@ -265,15 +268,17 @@ in }; hosts = mkOption { - example = '' - [''${config.networking.hostName}] - address localhost - ''; + default = ""; + type = types.lines; description = '' Definitions of hosts of nodes to collect data from. Needs at least one host for cron to succeed. See <link xlink:href='http://guide.munin-monitoring.org/en/latest/reference/munin.conf.html' /> ''; + example = '' + [''${config.networking.hostName}] + address localhost + ''; }; extraCSS = mkOption { |