bootstrap instructions

This commit is contained in:
John Lancaster
2024-12-29 14:21:36 -06:00
parent 3a004e9251
commit fd2563549d

View File

@@ -54,6 +54,22 @@ SSH keys are pre-authorized from `secrets/authorized_keys` which contains the pu
## Setup ## 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 `secrets/secrets.yaml` needs to have
- `telegraf_influx_token` - `telegraf_influx_token`