diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/node.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/node.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/node.nix b/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/node.nix index 5e5fc7cd5524..ae69c29d0a51 100644 --- a/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/node.nix +++ b/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/node.nix @@ -12,7 +12,7 @@ in type = types.listOf types.str; default = []; example = [ "systemd" ]; - description = '' + description = lib.mdDoc '' Collectors to enable. The collectors listed here are enabled in addition to the default ones. ''; }; @@ -20,7 +20,7 @@ in type = types.listOf types.str; default = []; example = [ "timex" ]; - description = '' + description = lib.mdDoc '' Collectors to disable which are enabled by default. ''; }; @@ -44,6 +44,8 @@ in ]; # The timex collector needs to access clock APIs ProtectClock = any (collector: collector == "timex") cfg.disabledCollectors; + # Allow space monitoring under /home + ProtectHome = true; }; }; } |