This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

telegraf: fix supportedFilesystems being an attrset now

+2 -2
+2 -2
2configs/monitoring/telegraf.nix
··· 14 14 ''; 15 15 16 16 zfsChecks = lib.optional 17 - (lib.any (fs: fs == "zfs") config.boot.supportedFilesystems) 17 + (lib.any (fs: fs == "zfs") (lib.attrNames config.boot.supportedFilesystems)) 18 18 (pkgs.writeScript "zpool-health" '' 19 19 #!${pkgs.gawk}/bin/awk -f 20 20 BEGIN { ··· 107 107 files = [ "/var/log/telegraf/*" ]; 108 108 } 109 109 ] 110 - ++ lib.optional (lib.any (fs: fs == "ext4") config.boot.supportedFilesystems) { 110 + ++ lib.optional (lib.any (fs: fs == "ext4") (lib.attrNames config.boot.supportedFilesystems)) { 111 111 name_override = "ext4_errors"; 112 112 files = [ "/sys/fs/ext4/*/errors_count" ]; 113 113 data_format = "value";