From fd2563549d2fa2b06eff539801738b488e6422cf Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 29 Dec 2024 14:21:36 -0600 Subject: [PATCH] bootstrap instructions --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 45f5858..3f835a3 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,22 @@ SSH keys are pre-authorized from `secrets/authorized_keys` which contains the pu ## Setup +### Bootstrapping + +SSH in to the host as root and get into a shell with `git`. + +```shell +nix-channel --update && nix-shell -p git +``` + +Then build the system from the flake + +```shell +nixos-rebuild switch --flake git+https://gitea.john-stream.com/john/ad-nix#ad-nix +``` + +### Secrets + `secrets/secrets.yaml` needs to have - `telegraf_influx_token`