fix(nixos): deploy from monorepo checkout

This commit is contained in:
2026-09-03 16:24:28 -04:00
parent 6af09b1ccb
commit 9d48dd6c16
2 changed files with 3 additions and 1 deletions

View File

@@ -48,6 +48,6 @@ end
set escaped_branch (string escape -- $branch)
set escaped_host (string escape -- $host)
set remote_command "cd ~/wrk/dotfiles && git fetch origin && git switch -- $escaped_branch && git reset --hard origin/$escaped_branch && sudo nixos-rebuild switch --flake .#$escaped_host --print-build-logs"
set remote_command "cd ~/dev && git fetch origin && git switch -- $escaped_branch && git reset --hard origin/$escaped_branch && sudo nixos-rebuild switch --flake .#$escaped_host --print-build-logs"
ssh -t $host $remote_command