summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-05-27 16:36:46 +0200
committerAlan Pearce2019-05-28 09:58:41 +0200
commitf4151d71e78bbabef8a832f2bd07238ac910f851 (patch)
tree6d43e3d8e5bcb8dbb5f5085db2e54220f352797f
parent3afe52a135a0ccee881e487fe3310f31ec62cf27 (diff)
downloadnixos-configuration-f4151d71e78bbabef8a832f2bd07238ac910f851.tar.lz
nixos-configuration-f4151d71e78bbabef8a832f2bd07238ac910f851.tar.zst
nixos-configuration-f4151d71e78bbabef8a832f2bd07238ac910f851.zip
T470s: Send all temp data to thinkfan
-rw-r--r--modules/machines/t470s.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix
index 623250a..842b556 100644
--- a/modules/machines/t470s.nix
+++ b/modules/machines/t470s.nix
@@ -6,7 +6,11 @@
   ];
 
   services.thinkfan.sensors = ''
+    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input
     hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input
+    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input
+    hwmon /sys/devices/virtual/thermal/thermal_zone0/hwmon2/temp1_input
+    hwmon /sys/devices/virtual/thermal/thermal_zone1/hwmon3/temp1_input
   '';
 
   systemd.services.ModemManager.enable = true;