summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorAstro <astro@spaceboyz.net>2021-10-13 20:36:59 +0200
committerAstro <astro@spaceboyz.net>2021-11-08 17:09:56 +0100
commit19fc2904f335a54532b624ee25163a495624389d (patch)
tree08be2eb3052aa11e038af55ae0bc595175c79ad8 /nixos
parent7bc24afb03cc792253b7115d9b14ed48aeb5acb5 (diff)
nixos/collectd: give plugins option a mergeable type
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/monitoring/collectd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/collectd.nix b/nixos/modules/services/monitoring/collectd.nix
index ad0cf4735ad4..6af04d22f0f7 100644
--- a/nixos/modules/services/monitoring/collectd.nix
+++ b/nixos/modules/services/monitoring/collectd.nix
@@ -57,7 +57,7 @@ in {
description = ''
Build a minimal collectd package with only the configured `services.collectd.plugins`
'';
- type = types.bool;
+ type = bool;
};
user = mkOption {
@@ -98,7 +98,7 @@ in {
description = ''
Attribute set of plugin names to plugin config segments
'';
- type = types.attrsOf types.str;
+ type = attrsOf lines;
};
extraConfig = mkOption {