diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-16 12:02:55 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-16 12:02:55 +0200 |
commit | 45a0e850ce7c498e5ef1d281fb67b2f34dc00e8c (patch) | |
tree | 9d369fd8f8f6e5a9ef334732d8c3faecbc6b652d | |
parent | d442b9a068b39e0180027398faa7011bbbe3c3c9 (diff) | |
download | nixcfg-45a0e850ce7c498e5ef1d281fb67b2f34dc00e8c.tar.gz nixcfg-45a0e850ce7c498e5ef1d281fb67b2f34dc00e8c.zip |
Improve deployment doc
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |