Improve deployment doc

This commit is contained in:
Quentin 2022-10-16 12:02:55 +02:00
parent d442b9a068
commit 45a0e850ce
Signed by untrusted user: quentin
GPG key ID: E9602264D639FF68

View file

@ -20,6 +20,7 @@ Basically:
- The new administrator clone the repo and check that they can decrypt the secrets
- Finally, the new administrator must choose a password to operate over SSH with `./passwd prod rick` where `rick` is the target username
## How to create files for a new zone
*The documentation is written for the production cluster, the same apply for other clusters.*
@ -27,7 +28,9 @@ Basically:
Basically:
- Create your `site` file in `cluster/prod/site/` folder
- Create your `node` files in `cluster/prod/node/` folder
- Add your wireguard configuration to `cluster/prod/cluster.nix` (you will have to edit your NAT config manually)
- Add your wireguard configuration to `cluster/prod/cluster.nix`
- You will have to edit your NAT config manually
- To get your node's wg public key, you must run `./deploy_prod prod <node>`, see the next section for more information
## How to deploy a Nix configuration on a fresh node