Add post-install steps
This commit is contained in:
parent
f3424680f2
commit
d53405e39e
15
hosts/new.md
15
hosts/new.md
@ -14,6 +14,17 @@ hardware-configuration.nix
|
||||
1. Commit nix-config
|
||||
1. Boot the NixOS installer
|
||||
1. Copy the generated SSH host key to `/etc/ssh`
|
||||
1. Copy the git SSH key to `~/.ssh/`
|
||||
1. Run `git clone git@git.vimium.com:jordan/nix-config.git`
|
||||
1. Run `nix run github:nix-community/nixos-anywhere -- --flake .#<hostname> root@<ip address>`
|
||||
|
||||
## Post install
|
||||
> The backup and Tailscale modules won't work until the following steps are
|
||||
> completed.
|
||||
|
||||
1. Run `borgmatic init --encryption repokey-blake2`
|
||||
1. Restart `borgmatic`
|
||||
1. Run `sudo tailscale up --login-server https://headscale.vimium.net`
|
||||
1. Visit the URL, then SSH onto `vps1` and run
|
||||
`headscale --user mesh nodes register --key <key>`
|
||||
1. (Optionally) Give the Tailscale node a friendly name with
|
||||
`headscale node rename -i <index> <hostname>`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user