fancontrol: fix path by using lib.getExe'

This commit is contained in:
Fazzi 2025-01-22 13:40:26 +00:00
parent a910ca0ea5
commit cc39de3db2

View file

@ -41,7 +41,7 @@ in
serviceConfig = {
Restart = "on-failure";
ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}";
ExecStart = "${lib.getExe' pkgs.lm_sensors "fancontrol"} ${configFile}";
};
};