scollector: Change type of collectors to allow proper merging

This commit is contained in:
Rickard Nilsson 2015-06-11 16:49:43 +02:00
parent fb19019af7
commit 7a0ca52267

View File

@ -73,7 +73,7 @@ in {
}; };
collectors = mkOption { collectors = mkOption {
type = types.attrs; type = with types; attrsOf (listOf path);
default = {}; default = {};
example = literalExample "{ 0 = [ \"\${postgresStats}/bin/collect-stats\" ]; }"; example = literalExample "{ 0 = [ \"\${postgresStats}/bin/collect-stats\" ]; }";
description = '' description = ''