mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Refactor install-anywhere script
This commit is contained in:
parent
225574cbbf
commit
93eb233b14
3 changed files with 30 additions and 22 deletions
3
justfile
3
justfile
|
|
@ -20,8 +20,7 @@ deploy +hosts:
|
|||
deploy --skip-checks --targets $(echo {{ hosts }} | sed 's/[^ ]*/\.#&/g')
|
||||
|
||||
install host destination='root@installer':
|
||||
nix run .#provision-keys -- {{ host }}
|
||||
nix run github:nix-community/nixos-anywhere -- --extra-files /tmp/anywhere/{{ host }} --flake .#{{ host }} --target-host {{ destination }}
|
||||
nix run .#install-anywhere -- {{ host }} {{ destination }}
|
||||
|
||||
repair:
|
||||
nix-store --verify --check-contents --repair
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue