From 19fc2904f335a54532b624ee25163a495624389d Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 13 Oct 2021 20:36:59 +0200 Subject: [PATCH] nixos/collectd: give plugins option a mergeable type --- nixos/modules/services/monitoring/collectd.nix | 4 ++-- 1 file 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 {