setup amd gpu fancontrol curve

This commit is contained in:
Noah Masur 2023-03-18 09:29:20 -04:00
parent 28576c1b8f
commit 2176a53c4a

View File

@ -37,4 +37,19 @@
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.fancontrol.enable = true;
hardware.fancontrol.config = ''
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon0=devices/pci0000:00/0000:00:03.1/0000:06:00.0/0000:07:00.0/0000:08:00.0
DEVNAME=hwmon0=amdgpu
FCTEMPS=hwmon0/pwm1=hwmon0/temp1_input
FCFANS= hwmon0/pwm1=hwmon0/fan1_input
MINTEMP=hwmon0/pwm1=30
MAXTEMP=hwmon0/pwm1=70
MINSTART=hwmon0/pwm1=150
MINSTOP=hwmon0/pwm1=12
MINPWM=hwmon0/pwm1=12
'';
}