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
|
|
@ -92,10 +92,14 @@ listener sits on `bridgeIp`, on the host's bridge interface.
|
|||
```nix
|
||||
{
|
||||
services.hyperhive = {
|
||||
deploy.hive-controller.enable = true;
|
||||
deploy.hive-controller.hiveName = "pr1ma";
|
||||
swarm.domain = "darkest.space";
|
||||
swarm.hives.pr1ma = { }; # -> domain = pr1ma.darkest.space
|
||||
swarm = {
|
||||
domain = "myswarm.example";
|
||||
hives.firsthive = { }; # -> domain = firsthive.myswarm.example
|
||||
};
|
||||
deploy.hive-controller = {
|
||||
enable = true;
|
||||
hiveName = "firsthive";
|
||||
};
|
||||
# network.bridgeIp = "10.42.0.1"; # default
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue