nix-config/new-host.md

502 B

Bare setup

  1. On the new host, copy the host SSH key to another host
  2. On that host, add the key to secrets.nix and run agenix -r to rekey them.
  3. git push, git pull
  4. On the new host, run rebuild .#<HOSTNAME>

Services

Tailscale

  1. Go to localhost:8384 and copy the device ID.
  2. Create a new machine entry in the syncthing module.
  3. Add the new device to folders.