From d53405e39e85fe9cc38dcc543bc979b6e57ff95a Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Mon, 25 Dec 2023 17:13:48 +0000 Subject: [PATCH] Add post-install steps --- hosts/new.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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 `