scollector: Change type of collectors to allow proper merging
commit7a0ca5226727911bc6f3e7148407701d611d783d
authorRickard Nilsson <rickynils@gmail.com>
dateThu 11 Jun 2015, 16:49 (11 years ago)
parentfb19019
nixos/modules/services/monitoring/scollector.nix+1−1
@@ -73,7 +73,7 @@ in {
7373 };
7474
7575 collectors = mkOption {
76− type = types.attrs;
76+ type = with types; attrsOf (listOf path);
7777 default = {};
7878 example = literalExample "{ 0 = [ \"\${postgresStats}/bin/collect-stats\" ]; }";
7979 description = ''