Skip to content

Commit d1dac6d

Browse files
authored
fancontrol: fix path by using lib.getExe' (NixOS#375835)
2 parents 068b1ee + cc39de3 commit d1dac6d

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)