diff --git a/nix/module.nix b/nix/module.nix index 9cd79ad..4ed6d5d 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -85,7 +85,7 @@ in # Install package environment.systemPackages = with pkgs; [ fw-fanctrl - ectool + fw-ectool ]; # Create config @@ -101,7 +101,7 @@ in Type = "simple"; Restart = "always"; ExecStart = "${fw-fanctrl}/bin/fw-fanctrl --run --config /etc/fw-fanctrl/config.json --no-log"; - ExecStopPost = "${pkgs.ectool}/bin/ectool autofanctrl"; + ExecStopPost = "${pkgs.fw-ectool}/bin/ectool autofanctrl"; }; enable = true; wantedBy = [ "multi-user.target" ]; diff --git a/nix/packages/fw-fanctrl.nix b/nix/packages/fw-fanctrl.nix index 50df35c..749d56b 100644 --- a/nix/packages/fw-fanctrl.nix +++ b/nix/packages/fw-fanctrl.nix @@ -5,7 +5,7 @@ python3, bash, callPackage, getopt, -ectool +fw-ectool }: let @@ -46,7 +46,7 @@ python3Packages.buildPythonPackage rec{ ]; propagatedBuildInputs = [ - ectool + fw-ectool ]; doCheck = false;