From 141316fa110898106ec2a831ca91d311c16ecf70 Mon Sep 17 00:00:00 2001 From: cspark Date: Fri, 22 Mar 2024 11:48:37 +0000 Subject: [PATCH] Fix mpdcron service exit 127 --- global-home.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/global-home.nix b/global-home.nix index 01ed443a..07eeec89 100644 --- a/global-home.nix +++ b/global-home.nix @@ -180,6 +180,7 @@ in }; Service = { ExecStart = "${script}"; + Environment = "PATH=${pkgs.mpdcron}/bin:${pkgs.systemd}/bin"; }; Install = { WantedBy = [ "default.target" ];