summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-06-03 18:07:12 +0200
committerAlan Pearce2019-06-03 18:07:12 +0200
commit36f72a74c3fd35799378279fc7473e2db3929d9f (patch)
tree73462a0dc62380cadf329d676413f46301d17f97
parent178624f221f3074e7083c1a5e91d1c4f92d4f576 (diff)
downloadnixos-configuration-36f72a74c3fd35799378279fc7473e2db3929d9f.tar.lz
nixos-configuration-36f72a74c3fd35799378279fc7473e2db3929d9f.tar.zst
nixos-configuration-36f72a74c3fd35799378279fc7473e2db3929d9f.zip
t470s: tweak thinkfan levels
-rw-r--r--modules/machines/t470s.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix
index 842b556..1bffb4c 100644
--- a/modules/machines/t470s.nix
+++ b/modules/machines/t470s.nix
@@ -12,6 +12,15 @@
     hwmon /sys/devices/virtual/thermal/thermal_zone0/hwmon2/temp1_input
     hwmon /sys/devices/virtual/thermal/thermal_zone1/hwmon3/temp1_input
   '';
+  services.thinkfan.levels = ''
+    (0,     0,      48)
+    (1,     45,     52)
+    (2,     50,     57)
+    (3,     55,     63)
+    (6,     60,     65)
+    (7,     60,     85)
+    (127,   80,     32767)
+  '';
 
   systemd.services.ModemManager.enable = true;