fancontrol: fix path by using lib.getExe'
Fazzi 10 months ago cc39de3d a910ca0e
··· 41 41 42 42 serviceConfig = { 43 43 Restart = "on-failure"; 44 44 - ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}"; 44 44 + ExecStart = "${lib.getExe' pkgs.lm_sensors "fancontrol"} ${configFile}"; 45 45 }; 46 46 }; 47 47