mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 14:19:08 +01:00
Replace deploy-rs with nh for remote push deployments
This commit is contained in:
parent
5c61459fe7
commit
fee1ddd9a9
5 changed files with 6 additions and 100 deletions
4
justfile
4
justfile
|
|
@ -40,7 +40,9 @@ reboot:
|
|||
|
||||
[group('remote')]
|
||||
deploy +hosts:
|
||||
deploy --skip-checks --targets $(echo {{ hosts }} | sed 's/[^ ]*/\.#&/g')
|
||||
for host in {{ hosts }}; do \
|
||||
nh os switch . --hostname=$host --target-host=$host; \
|
||||
done
|
||||
|
||||
[group('remote')]
|
||||
install host destination='root@installer':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue