diff --git a/hosts/new.md b/hosts/new.md index 4ad3098..2cfc989 100644 --- a/hosts/new.md +++ b/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 .# root@` + +## 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 ` +1. (Optionally) Give the Tailscale node a friendly name with +`headscale node rename -i `