Skip to content

Commit cc39de3

Browse files
committed
fancontrol: fix path by using lib.getExe'
1 parent a910ca0 commit cc39de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/services/hardware/fancontrol.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ in
4141

4242
serviceConfig = {
4343
Restart = "on-failure";
44-
ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}";
44+
ExecStart = "${lib.getExe' pkgs.lm_sensors "fancontrol"} ${configFile}";
4545
};
4646
};
4747

0 commit comments

Comments
 (0)