Watch
0
0
Fork
You've already forked hyperhive
0

nix: state the swarm requirement without a no-fallback clause

This commit is contained in:
atlas 2026-10-02 09:21:22 +02:00 • committed by mara
commit c8ff9a1943
2 changed files with 6 additions and 6 deletions

View file

@ -198,8 +198,8 @@ in
hyperhive requires services.hyperhive.swarm.domain to be set
on every host, to the same value on every host of the swarm —
the DNS domain of the swarm, of which each hive occupies one
sub-domain. There is no fallback: a guessed value would be a
wrong hostname that evaluates cleanly and deploys. Set it
sub-domain. A guessed value would be a wrong hostname that
evaluates cleanly and deploys. Set it
(`services.hyperhive.swarm.domain = "example.com";`) — with
`hiveName` it also derives `services.hyperhive.domain` for you.
'';

View file

@ -119,10 +119,10 @@ in
**Required** on every host that imports this module, with the
same value on every host of the swarm, and deliberately not
defaulted: there is no fallback worth having. A guessed
swarm domain is a wrong hostname that evaluates cleanly and
deploys, which is worse than an eval failure telling an
operator to write down the one address their swarm answers to.
defaulted. A guessed swarm domain is a wrong hostname that
evaluates cleanly and deploys, which is worse than an eval
failure telling an operator to write down the one address their
swarm answers to.
Upgrading past this costs one line, once.
'';
};