fancontrol: fix path by using lib.getExe'
This commit is contained in:
parent
a910ca0ea5
commit
cc39de3db2
@ -41,7 +41,7 @@ in
|
||||
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}";
|
||||
ExecStart = "${lib.getExe' pkgs.lm_sensors "fancontrol"} ${configFile}";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user