about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-10 20:11:24 +0100
committerGitHub <noreply@github.com>2021-11-10 20:11:24 +0100
commit93a0ff08d8aebde098abf48033aaefb2c14e7f14 (patch)
tree1db4adb466c450080f56cb1b45b0fdd076183aa7 /nixos/modules/services/monitoring
parent4f9b42cf560e84db1d18b03d7d835d2cf08c3f9a (diff)
parent19fc2904f335a54532b624ee25163a495624389d (diff)
downloadnixlib-93a0ff08d8aebde098abf48033aaefb2c14e7f14.tar
nixlib-93a0ff08d8aebde098abf48033aaefb2c14e7f14.tar.gz
nixlib-93a0ff08d8aebde098abf48033aaefb2c14e7f14.tar.bz2
nixlib-93a0ff08d8aebde098abf48033aaefb2c14e7f14.tar.lz
nixlib-93a0ff08d8aebde098abf48033aaefb2c14e7f14.tar.xz
nixlib-93a0ff08d8aebde098abf48033aaefb2c14e7f14.tar.zst
nixlib-93a0ff08d8aebde098abf48033aaefb2c14e7f14.zip
Merge pull request #141551 from astro/collectd-plugin-config
Diffstat (limited to 'nixos/modules/services/monitoring')
-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 {