From aded33b30e09636e7db39ee414b7f8f231821489 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 12 Feb 2020 21:32:59 -0500 Subject: bunchafixes --- machines/x220-aji.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'machines') diff --git a/machines/x220-aji.nix b/machines/x220-aji.nix index 84112ab..e45ef02 100644 --- a/machines/x220-aji.nix +++ b/machines/x220-aji.nix @@ -10,6 +10,12 @@ networking.firewall.allowedTCPPorts = [ 3000 ]; + services.thinkfan.enable = true; + services.thinkfan.sensors = '' + hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input + hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp2_input + hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp3_input + ''; services.openssh.enable = true; services.postgresql.package = lib.mkForce pkgs.postgresql_11; @@ -41,6 +47,7 @@ extraModprobeConfig = '' options i915 enable_rc6=1 + options thinkpad_acpi fan_control=1 ''; }; -- cgit v1.2.3