docs: nest config examples and use neutral swarm/hive names
Closes #6146
This commit is contained in:
parent
af434e1374
commit
4c321f3d2d
1 changed files with 113 additions and 77 deletions
|
|
@ -68,11 +68,17 @@ The smallest working config, as in the README's
|
|||
|
||||
```nix
|
||||
services.hyperhive = {
|
||||
deploy.singleHostSwarm = true;
|
||||
deploy.hive-controller.enable = true;
|
||||
swarm.domain = "hive.example";
|
||||
deploy.hive-controller.hiveName = "pr1ma";
|
||||
swarm.hives.pr1ma = { };
|
||||
swarm = {
|
||||
domain = "myswarm.example";
|
||||
hives.firsthive = { };
|
||||
};
|
||||
deploy = {
|
||||
singleHostSwarm = true;
|
||||
hive-controller = {
|
||||
enable = true;
|
||||
hiveName = "firsthive";
|
||||
};
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue