diff --git a/justfile b/justfile index 8f0288f..a230b4c 100644 --- a/justfile +++ b/justfile @@ -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 \ No newline at end of file +# 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}}