nixos/collectd: give plugins option a mergeable type
This commit is contained in:
parent
7bc24afb03
commit
19fc2904f3
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue