This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

machines.xerxes: fix fancontrol

+6 -4
+6 -4
machines/xerxes/gpd-fan.nix
··· 31 31 in 32 32 { 33 33 boot.extraModulePackages = [ gpd-fan ]; 34 - boot.kernelModules = [ "gpd_fan" ]; 34 + # Load modules in explicit order for stable hwmon numbering 35 + # gpd_fan -> hwmon2, k10temp -> hwmon3 (loaded before ACPI devices) 36 + boot.kernelModules = [ "gpd_fan" "k10temp" ]; 35 37 36 38 hardware.fancontrol = { 37 39 enable = true; 38 40 config = '' 39 41 INTERVAL=2 40 - DEVPATH=hwmon2=devices/platform/gpd_fan hwmon6=devices/pci0000:00/0000:00:18.3 41 - DEVNAME=hwmon2=gpdfan hwmon6=k10temp 42 - FCTEMPS=hwmon2/pwm1=hwmon6/temp1_input 42 + DEVPATH=hwmon2=devices/platform/gpd_fan hwmon3=devices/pci0000:00/0000:00:18.3 43 + DEVNAME=hwmon2=gpdfan hwmon3=k10temp 44 + FCTEMPS=hwmon2/pwm1=hwmon3/temp1_input 43 45 FCFANS=hwmon2/pwm1=hwmon2/fan1_input 44 46 MINTEMP=hwmon2/pwm1=45 45 47 MAXTEMP=hwmon2/pwm1=85