hyperhive/nix/host-modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas b3f46e4f43 feat(swarm-authelia): one machine client per hive in the roster
Second slice of #3274. Each entry in
`services.hyperhive.swarm.hives` gets an authelia client
`hive-<name>`, so a hive can authenticate to swarm services as
itself.

The clients are derived here rather than declared by a consuming
service, because a hive's identity belongs to the directory and not to
whichever service happens to use it first. mara's constraint is that a
hive's credentials "derive from the same identity" — one hive holds
one client and mints a different token per service from it — so the
queue declaring this list would mean the next consumer collides on the
same client id, and only at the moment it landed.

`oidc.hiveIdentities` defaults to whether the message queue is
enabled, that being the first service to need a hive to prove who it
is. It is an option rather than a hard-coded condition so the swarm
telemetry collector can turn it on without the queue.

No audience and no `access_token_signed_response_alg` here: the queue
learns which hive presented a token from the introspection response
(`{"active":true,"client_id":"hive-alpha",...}`, measured), so it needs
neither. The collector does need both, and they land with it.

Also asserts client ids are unique — newly reachable now that part of
the list is derived, since a hive named `x` and a service client named
`hive-x` never met before.

Refs #3274.
2026-08-15 14:26:05 +02:00
..
hive-c0re feat(otel): one path out of the hive, not two 2026-08-15 11:46:24 +02:00
hive-forge swarm-controller: serve swarm-wide service quick links (hyperhive#3289) 2026-08-15 14:24:52 +02:00
hive-gateway docs(3202): state the file's scope positively 2026-08-14 09:52:44 +02:00
lib feat(nix): issue each hive's CA under a swarm root CA 2026-08-05 15:57:50 +02:00
default.nix feat(3112): the swarm-nats container, fail-closed 2026-08-14 16:26:12 +02:00
hive-ci.nix feat(nix): move the forge host options under services.hyperhive.swarm 2026-08-05 03:44:53 +02:00
hive-matrix.nix swarm-controller: serve swarm-wide service quick links (hyperhive#3289) 2026-08-15 14:24:52 +02:00
hive-network.nix docs(3191): the gateway's comments describe a host service, not a container 2026-08-12 12:20:28 +02:00
hive-priv.nix fix(#2573): also add /etc/tmpfiles.d to hive-priv ReadWritePaths (same EROFS class) 2026-07-18 16:39:20 +02:00
hive-tls.nix docs(3191): drop the migration history from the gateway comments 2026-08-12 13:26:58 +02:00
hyperhive.nix refactor(nix): a hive's domain comes out of the swarm directory 2026-08-05 22:43:17 +02:00
local-defaults.nix refactor(3202): all-local asserts the host's own /etc/hosts entries 2026-08-13 17:26:08 +02:00
otel.nix docs(otel): validateConfigFile is a parser, not a wiring check 2026-08-15 12:13:48 +02:00
swarm-authelia.nix feat(swarm-authelia): one machine client per hive in the roster 2026-08-15 14:26:05 +02:00
swarm-ca.nix fix(nix): a missing swarm-services leaf must not kill the whole gateway 2026-08-06 00:30:22 +02:00
swarm-controller.nix swarm-controller: serve swarm-wide service quick links (hyperhive#3289) 2026-08-15 14:24:52 +02:00
swarm-nats.nix feat(swarm-authelia): let an oidc client say it is a machine client 2026-08-15 13:33:31 +02:00
swarm-peers-removed.nix refactor(nix): swarm.peers becomes swarm.hives, a directory of every hive 2026-08-05 20:44:16 +02:00
swarm-required-services.nix refactor(nix): make all-local a deployment mode, not a default 2026-08-05 19:41:11 +02:00
swarm-snapshot-store.nix refactor(#2862): keep the option at services.hyperhive.snapshotStore 2026-07-31 19:03:24 +02:00
swarm-ui.nix swarm-controller: serve swarm-wide service quick links (hyperhive#3289) 2026-08-15 14:24:52 +02:00
swarm-wireguard.nix refactor(nix): swarm.peers becomes swarm.hives, a directory of every hive 2026-08-05 20:44:16 +02:00
swarm.nix feat(3167): options + certificate name for the swarm UI 2026-08-12 17:29:13 +02:00