add more temp sensors for fan control
This commit is contained in:
parent
5012299d38
commit
d9aff9c530
1 changed files with 21 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue