Skip to content

Commit

Permalink
just: enrich that one target
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Feb 20, 2024
1 parent fac4275 commit 17bc071
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
default:
@just --list

here:
nixos-rebuild switch --fast --flake .#here --target-host $USER@here --build-host $USER@here --use-remote-sudo
# Remote deploy to a host
remote host='here':
nixos-rebuild switch --fast --use-remote-sudo \
--flake .#{{host}} \
--target-host $USER@{{host}} \
--build-host $USER@{{host}}

0 comments on commit 17bc071

Please sign in to comment.