From a87f50d7edb05c10876157e3451527689bac2ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 2 Apr 2022 10:42:02 +0100 Subject: [PATCH] add more temperature sensors to fan control --- nixos/boxes/foureighty/thermal.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/boxes/foureighty/thermal.nix b/nixos/boxes/foureighty/thermal.nix index 49c8afd9..3eed7c23 100644 --- a/nixos/boxes/foureighty/thermal.nix +++ b/nixos/boxes/foureighty/thermal.nix @@ -17,17 +17,17 @@ type = "hwmon"; query = "/sys/class/hwmon"; name = "coretemp"; - indices = [ 1 2 3 ]; + indices = [ 1 2 3 4 5 ]; } { type = "hwmon"; query = "/sys/devices/platform/thinkpad_hwmon/hwmon"; - indices = [ 1 ]; + indices = [ 1 2 ]; } { type = "tpacpi"; query = "/proc/acpi/ibm/thermal"; - indices = [ 0 ]; + indices = [ 0 1 ]; } ]; };