From cc39de3db2a456781f1d5761d97c986f5bc20cd3 Mon Sep 17 00:00:00 2001 From: Fazzi Date: Wed, 22 Jan 2025 13:40:26 +0000 Subject: [PATCH] fancontrol: fix path by using lib.getExe' --- nixos/modules/services/hardware/fancontrol.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/hardware/fancontrol.nix b/nixos/modules/services/hardware/fancontrol.nix index dd3cd54cc31c..882eea001b39 100644 --- a/nixos/modules/services/hardware/fancontrol.nix +++ b/nixos/modules/services/hardware/fancontrol.nix @@ -41,7 +41,7 @@ in serviceConfig = { Restart = "on-failure"; - ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}"; + ExecStart = "${lib.getExe' pkgs.lm_sensors "fancontrol"} ${configFile}"; }; };