diff options
author | Astro <astro@spaceboyz.net> | 2021-10-13 20:36:59 +0200 |
---|---|---|
committer | Astro <astro@spaceboyz.net> | 2021-11-08 17:09:56 +0100 |
commit | 19fc2904f335a54532b624ee25163a495624389d (patch) | |
tree | 08be2eb3052aa11e038af55ae0bc595175c79ad8 /nixos/modules/services/monitoring | |
parent | 7bc24afb03cc792253b7115d9b14ed48aeb5acb5 (diff) | |
download | nixlib-19fc2904f335a54532b624ee25163a495624389d.tar nixlib-19fc2904f335a54532b624ee25163a495624389d.tar.gz nixlib-19fc2904f335a54532b624ee25163a495624389d.tar.bz2 nixlib-19fc2904f335a54532b624ee25163a495624389d.tar.lz nixlib-19fc2904f335a54532b624ee25163a495624389d.tar.xz nixlib-19fc2904f335a54532b624ee25163a495624389d.tar.zst nixlib-19fc2904f335a54532b624ee25163a495624389d.zip |
nixos/collectd: give plugins option a mergeable type
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r-- | nixos/modules/services/monitoring/collectd.nix | 4 |
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 { |