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