diff --git a/nixos/boxes/foureighty/default.nix b/nixos/boxes/foureighty/default.nix index d031e9ee..7c981a37 100644 --- a/nixos/boxes/foureighty/default.nix +++ b/nixos/boxes/foureighty/default.nix @@ -38,7 +38,27 @@ hardware.trackpoint.enable = true; services.hardware.bolt.enable = true; boot.extraModprobeConfig = "options thinkpad_acpi fan_control=1"; - services.thinkfan.enable = true; + services.thinkfan = { + enable = true; + sensors = [ + { + type = "hwmon"; + query = "/sys/class/hwmon"; + name = "coretemp"; + indices = [ 1 2 3 ]; + } + { + type = "hwmon"; + query = "/sys/devices/platform/thinkpad_hwmon/hwmon"; + indices = [ 1 ]; + } + { + type = "tpacpi"; + query = "/proc/acpi/ibm/thermal"; + indices = [ 0 ]; + } + ]; + }; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.video.hidpi.enable = lib.mkDefault true;