summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/scollector.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/monitoring/scollector.nix')
-rw-r--r--nixos/modules/services/monitoring/scollector.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/scollector.nix b/nixos/modules/services/monitoring/scollector.nix
index 0143d2e327bd..179c587431ea 100644
--- a/nixos/modules/services/monitoring/scollector.nix
+++ b/nixos/modules/services/monitoring/scollector.nix
@@ -73,7 +73,7 @@ in {
       };
 
       collectors = mkOption {
-        type = types.attrs;
+        type = with types; attrsOf (listOf path);
         default = {};
         example = literalExample "{ 0 = [ \"\${postgresStats}/bin/collect-stats\" ]; }";
         description = ''