mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 00:17:24 +08:00
just: enrich that one target
This commit is contained in:
parent
fac4275980
commit
17bc071edf
1 changed files with 6 additions and 2 deletions
8
justfile
8
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
|
||||
# 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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue