add delay to fancontrol and lactd to wait for gpu
This commit is contained in:
parent
41c67240e3
commit
3743a1db68
@ -71,6 +71,8 @@
|
|||||||
systemd.packages = with pkgs; [ lact ];
|
systemd.packages = with pkgs; [ lact ];
|
||||||
systemd.services.lactd.wantedBy = [ "multi-user.target" ];
|
systemd.services.lactd.wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
|
systemd.services.lactd.serviceConfig.ExecStartPre = "${lib.getExe pkgs.bash} -c \"sleep 3s\"";
|
||||||
|
|
||||||
# control case fans with gpu temperature
|
# control case fans with gpu temperature
|
||||||
# I have case fans attached to my gpu for better cooling
|
# I have case fans attached to my gpu for better cooling
|
||||||
hardware.fancontrol = {
|
hardware.fancontrol = {
|
||||||
@ -93,4 +95,6 @@
|
|||||||
MAXPWM=${fan_speed}=255
|
MAXPWM=${fan_speed}=255
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.fancontrol.serviceConfig.ExecStartPre = "${lib.getExe pkgs.bash} -c \"sleep 3s\"";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user