all repos — nixfiles @ f4151d71e78bbabef8a832f2bd07238ac910f851

System and user configuration, managed by nix and home-manager

T470s: Send all temp data to thinkfan
Alan Pearce alan@alanpearce.eu
Mon, 27 May 2019 16:36:46 +0200
commit

f4151d71e78bbabef8a832f2bd07238ac910f851

parent

3afe52a135a0ccee881e487fe3310f31ec62cf27

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M modules/machines/t470s.nixmodules/machines/t470s.nix
@@ -6,7 +6,11 @@ firmwareLinuxNonfree   ];
 
   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;