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

View file

@ -131,12 +131,17 @@ covers spreading a swarm across hosts.
hyperhive.nixosModules.default # the whole host stack, one import
{
services.hyperhive = {
deploy.singleHostSwarm = true; # every swarm service on this machine
deploy.hive-controller.enable = true; # …and a hive to run agents on
swarm.domain = "hive.example"; # the swarm's DNS domain
deploy.hive-controller.hiveName = "pr1ma"; # this hive's label in it
swarm.hives.pr1ma = { }; # the directory: just us
swarm = {
domain = "myswarm.example"; # the swarm's DNS domain
hives.firsthive = { }; # the directory: just us
};
deploy = {
singleHostSwarm = true; # every swarm service on this machine
hive-controller = {
enable = true; # …and a hive to run agents on
hiveName = "firsthive"; # this hive's label in it
};
};
};
# ... the rest of your host config