nixos/collectd: give plugins option a mergeable type

This commit is contained in:
Astro 2021-10-13 20:36:59 +02:00
parent 7bc24afb03
commit 19fc2904f3

View file

@ -57,7 +57,7 @@ in {
description = '' description = ''
Build a minimal collectd package with only the configured `services.collectd.plugins` Build a minimal collectd package with only the configured `services.collectd.plugins`
''; '';
type = types.bool; type = bool;
}; };
user = mkOption { user = mkOption {
@ -98,7 +98,7 @@ in {
description = '' description = ''
Attribute set of plugin names to plugin config segments Attribute set of plugin names to plugin config segments
''; '';
type = types.attrsOf types.str; type = attrsOf lines;
}; };
extraConfig = mkOption { extraConfig = mkOption {