From 1b52576097a04b57602d883dbd79c1c1b5581841 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Fri, 21 Aug 2026 15:04:48 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20rev-deploy=20must=20skip=20unit=20instal?= =?UTF-8?q?l=20=E2=80=94=20units=20are=20hm=20symlinks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- home/yolo/services.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/yolo/services.nix b/home/yolo/services.nix index 5bbd4c3..d436fca 100644 --- a/home/yolo/services.nix +++ b/home/yolo/services.nix @@ -65,7 +65,8 @@ in WorkingDirectory = "%h/tea/rev"; ExecStart = "${pkgs.bun}/bin/bun scripts/deploy-webhook.ts"; EnvironmentFile = "%h/.config/rev/deploy.env"; - Environment = [ "PATH=${toolPath}" ]; + # Unit files are home-manager symlinks; deploy.sh must not rewrite them. + Environment = [ "PATH=${toolPath}" "REV_SKIP_UNIT_INSTALL=1" ]; Restart = "always"; RestartSec = 2; };