fancontrol: fix path by using lib.getExe' (#375835)

This commit is contained in:
Ramses
2025-01-22 15:35:57 +01:00
committed by GitHub
@@ -41,7 +41,7 @@ in
serviceConfig = {
Restart = "on-failure";
ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}";
ExecStart = "${lib.getExe' pkgs.lm_sensors "fancontrol"} ${configFile}";
};
};