all repos — nixfiles @ 36f72a74c3fd35799378279fc7473e2db3929d9f

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

t470s: tweak thinkfan levels
Alan Pearce alan@alanpearce.eu
Mon, 03 Jun 2019 18:07:12 +0200
commit

36f72a74c3fd35799378279fc7473e2db3929d9f

parent

178624f221f3074e7083c1a5e91d1c4f92d4f576

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

jump to
M modules/machines/t470s.nixmodules/machines/t470s.nix
@@ -12,6 +12,15 @@ 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
   '';
+  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;