amdgpu: always restart the fan control script

This commit is contained in:
Leonardo Eugênio 2025-01-08 21:20:45 -03:00
parent f98e1ef0b7
commit d84480a40d

View file

@ -21,6 +21,10 @@ in
script = '' script = ''
${lib.getExe pkgs.amd-fan-control} /sys/class/drm/card1/device 60 85 ${lib.getExe pkgs.amd-fan-control} /sys/class/drm/card1/device 60 85
''; '';
serviceConfig = {
Restart = "always";
RestartSec = 10;
};
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
}; };