fix: rev-deploy must skip unit install — units are hm symlinks
CI / lint (push) Successful in 36s
CI / eval (push) Successful in 1m52s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Miguel Palhas
2026-08-21 15:04:48 +01:00
parent 522eda7644
commit 1b52576097
+2 -1
View File
@@ -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;
};