summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2018-11-22 16:16:23 +0100
committerAlan Pearce2018-11-22 16:18:19 +0100
commit7d36785ec81a2ce337512816ec5c75273bf969b4 (patch)
tree0fba237a33c5dd6ba55a2c1aeae4225cec4bf792 /modules
parent300bca067cdeadcae0ef5fc10e870358aaf76bda (diff)
downloadnixfiles-7d36785ec81a2ce337512816ec5c75273bf969b4.tar.lz
nixfiles-7d36785ec81a2ce337512816ec5c75273bf969b4.tar.zst
nixfiles-7d36785ec81a2ce337512816ec5c75273bf969b4.zip
T470s: Use reasonable temperature sensor
Diffstat (limited to 'modules')
-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 d729beac..844a4f57 100644
--- a/modules/machines/t470s.nix
+++ b/modules/machines/t470s.nix
@@ -7,6 +7,10 @@
 
   boot.kernelPackages = pkgs.linuxPackages_4_18;
 
+  services.thinkfan.sensors = ''
+    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input
+  '';
+
   systemd.services.ModemManager.enable = true;
 
   hardware.pulseaudio.extraConfig = ''