just: enrich that one target

This commit is contained in:
Sridhar Ratnakumar 2024-02-20 16:30:30 -05:00
parent fac4275980
commit 17bc071edf

View file

@ -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}}