diff --git a/hosts/tempest/hardware-configuration.nix b/hosts/tempest/hardware-configuration.nix index 113ff46..660d9ba 100644 --- a/hosts/tempest/hardware-configuration.nix +++ b/hosts/tempest/hardware-configuration.nix @@ -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 + ''; }