feat(goliath): fix fans after sleep

This commit is contained in:
Kat Inskip 2024-01-28 12:17:47 -08:00
parent 69d4363c8c
commit 6e41008a2f
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -80,9 +80,9 @@
${pkgs.liquidctl}/bin/liquidctl --match clc set fan speed 20 0 30 0 40 10 50 50 60 75 70 100
'';
in {
wantedBy = ["multi-user.target"];
wantedBy = ["multi-user.target" "sleep.target"];
description = "Set up the fan speeds for the system";
after = ["systemd-modules-load.service"];
after = ["systemd-modules-load.service" "suspend.target"];
serviceConfig = {
Type = "oneshot";
ExecStart = "${fanScript}/bin/fan";