From 2906a5d735e1ada1d4438df40709d0fdc95f8528 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 8 Oct 2021 02:53:35 +0200 Subject: [PATCH] lib/pi-sensors: lower interval from 10 to 2 --- lib/pi-sensors.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pi-sensors.nix b/lib/pi-sensors.nix index 5c3baa3c..6eb430b9 100644 --- a/lib/pi-sensors.nix +++ b/lib/pi-sensors.nix @@ -30,7 +30,7 @@ }; services.collectd.plugins.exec = '' - Exec "${config.services.collectd.user}" "/run/wrappers/bin/pi-sensors" "10"${lib.concatMapStrings (s: " \"${s}\"") ( + Exec "${config.services.collectd.user}" "/run/wrappers/bin/pi-sensors" "2"${lib.concatMapStrings (s: " \"${s}\"") ( lib.concatMap ({ type, pin, location }: [ type (toString pin) location ] ) config.c3d2.pi-sensors