add delay to fancontrol and lactd to wait for gpu

This commit is contained in:
Simon Gardling 2025-03-24 13:22:14 -04:00
parent 41c67240e3
commit 3743a1db68
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -71,6 +71,8 @@
systemd.packages = with pkgs; [ lact ];
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
# I have case fans attached to my gpu for better cooling
hardware.fancontrol = {
@ -93,4 +95,6 @@
MAXPWM=${fan_speed}=255
'';
};
systemd.services.fancontrol.serviceConfig.ExecStartPre = "${lib.getExe pkgs.bash} -c \"sleep 3s\"";
}