aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-10-16 12:02:55 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-10-16 12:02:55 +0200
commit45a0e850ce7c498e5ef1d281fb67b2f34dc00e8c (patch)
tree9d369fd8f8f6e5a9ef334732d8c3faecbc6b652d
parentd442b9a068b39e0180027398faa7011bbbe3c3c9 (diff)
downloadnixcfg-45a0e850ce7c498e5ef1d281fb67b2f34dc00e8c.tar.gz
nixcfg-45a0e850ce7c498e5ef1d281fb67b2f34dc00e8c.zip
Improve deployment doc
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3c2a505..4e0cd6f 100644
--- a/README.md
+++ b/README.md
@@ -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