From d73369f298ac0a26a1695fa439cb913c76d3b5da Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Sat, 8 Nov 2025 13:12:45 +0100 Subject: [PATCH] add guide for setting up a new host --- new-host.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 new-host.md diff --git a/new-host.md b/new-host.md new file mode 100644 index 0000000..7491a85 --- /dev/null +++ b/new-host.md @@ -0,0 +1,14 @@ +# Bare setup + +1. On the new host, copy [the host SSH key](/etc/ssh/ssh_host_ed25519_key.pub) to another host +2. On that host, add the key to [secrets.nix](./secrets.nix) and run `agenix -r` to rekey them. +3. `git push`, `git pull` +4. On the new host, run `rebuild .#` + +# Services + +## Tailscale + +1. Go to [localhost:8384](http://localhost:8384) and copy the device ID. +2. Create a new machine entry in the [syncthing module](./modules/network/syncthing.nix). +3. Add the new device to folders.