Watch
0
0
Fork
You've already forked hyperhive
0

docs: nest config examples and use neutral swarm/hive names

Closes #6146
This commit is contained in:
atlas 2026-11-06 20:53:32 +01:00 • committed by mara
commit 4c321f3d2d
2 changed files with 113 additions and 77 deletions

View file

@ -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";
};
};
};
```

View file

@ -119,7 +119,7 @@ an agent's config arrive as PRs you merge. → [`2-handbook/agent-lifecycle/agen
To create an agent yourself instead, use the swarm UI, or:
```bash
swarmctl agent create iris --hive pr1ma
swarmctl agent create iris --hive firsthive
```
The controller provisions iris's identity, forge user and config repo