Fleet topology
This page is the fleet map: every host and its platform, the services each host runs and the role each service gives it, the fleet networks and their members, and the public hostnames with the host that answers each one. Everything on it is generated from the flake; nobody edits the pictures or the tables by hand.
Placement
Section titled “Placement”Each box is a host.
Inside it, instance/role entries come from the clan inventory, and shaded entries are declared services with their public hostnames and ports.
Roles that every host holds are listed once, under “on every host”.
Fleet networks and the public edge
Section titled “Fleet networks and the public edge”A dashed edge is membership of a fleet network, labelled with the member’s role.
A solid edge from internet is a public hostname and the host that answers it.
Hosts, networks and public hostnames
Section titled “Hosts, networks and public hostnames”| Host | Platform | Service roles | Declared services | Fleet networks |
|---|---|---|---|---|
| argentum | darwin | nix-builders/builder, omnigraph-access/client, otel-collector/agent, user-cameron/default, vanixiets/peer | — | vanixiets (peer), zerotier (external) |
| blackphos | darwin | user-crs58/default | — | zerotier (external) |
| cinnabar | nixos | hermes-agent/default, otel-collector/agent, sshd/client, sshd/server, tor/server, user-cameron/default, vanixiets/peer, zerotier/controller | hermes, matrix, ntfy, radicle | vanixiets (peer), zerotier (controller) |
| electrum | nixos | otel-collector/agent, sshd/client, sshd/server, tor/server, user-cameron/default, vanixiets/peer, zerotier/peer | — | vanixiets (peer), zerotier (peer) |
| galena | nixos | otel-collector/agent, sshd/client, sshd/server, tor/server, user-cameron/default, user-tara/default, vanixiets/peer, zerotier/peer | — | vanixiets (peer), zerotier (peer) |
| magnetite | nixos | nix-builders/builder, nix-builders/dispatcher, omnigent/host, omnigent/server, omnigraph-access/client, omnigraph-access/server, otel-collector/agent, otel-collector/ingress, sshd/client, sshd/server, tor/server, user-cameron/default, vanixiets/peer, zerotier/peer | gitea, gitea-mq, greptimedb, kanidm, matrix, coturn, livekit, niks3, nixbot, omnigent, omnigraph, perses, renovate | vanixiets (peer), zerotier (peer) |
| pyrite | nixos | iroh/server, nix-builders/builder, nix-builders/dispatcher, omnigent/host, omnigraph-access/client, otel-collector/agent, sshd/client, sshd/server, tor/server, user-cameron/default, vanixiets/peer, wifi/default, zerotier/peer | — | vanixiets (peer), zerotier (peer) |
| rosegold | darwin | nix-builders/builder, omnigraph-access/client, otel-collector/agent, user-cameron/default, vanixiets/peer | — | vanixiets (peer), zerotier (external) |
| scheelite | nixos | otel-collector/agent, sshd/client, sshd/server, tor/server, user-cameron/default, user-tara/default, vanixiets/peer, zerotier/peer | — | vanixiets (peer), zerotier (peer) |
| stibnite | darwin | nix-builders/builder, nix-builders/dispatcher, omnigent/host, omnigraph-access/client, otel-collector/agent, user-crs58/default, vanixiets/peer | — | vanixiets (peer), zerotier (external) |
Service roles held by every host: emergency-access/default.
| Fleet network | Module | Members |
|---|---|---|
| vanixiets | tincr | argentum (peer), cinnabar (peer), electrum (peer), galena (peer), magnetite (peer), pixel11 (device), pyrite (peer), rosegold (peer), scheelite (peer), stibnite (peer) |
| zerotier | zerotier | argentum (external), blackphos (external), cinnabar (controller), electrum (peer), galena (peer), magnetite (peer), pixel11 (external), pixel7 (external), pyrite (peer), rosegold (external), scheelite (peer), stibnite (external) |
| Public hostname | Host | Service | Ports |
|---|---|---|---|
| accounts.scientistexperience.net | magnetite | kanidm | 443 |
| cinnabar.scientistexperience.net | cinnabar | — | — |
| git.scientistexperience.net | magnetite | gitea | 443 |
| magnetite.scientistexperience.net | magnetite | — | — |
| matrix.scientistexperience.net | magnetite | matrix | 443 |
| mq.scientistexperience.net | magnetite | gitea-mq | 443 |
| niks3.scientistexperience.net | magnetite | niks3 | 443 |
| nixbot.scientistexperience.net | magnetite | nixbot | 443 |
| obs.scientistexperience.net | magnetite | perses | 443 |
| omni.scientistexperience.net | magnetite | omnigent | 443 |
Derived and declared
Section titled “Derived and declared”Most of the map is derived: hosts, platforms and service roles come from the clan inventory (modules/clan/inventory/), and fleet network membership, devices such as phones, and each host’s own public endpoints come from the member registry flake.lib.hosts (modules/lib/hosts.nix).
The declared services and their hostnames and ports come from flake.lib.topologyFacts (modules/lib/topology-facts.nix), which is written by hand: declared facts are true only as the operator last recorded them, and nothing checks them against what a host actually runs.
Updating the map
Section titled “Updating the map”flake.lib.fleetTopology (modules/lib/fleet-topology.nix) produces four files committed under packages/docs/diagrams/topology/: fleet.json, one line per host, service instance, network and declared host; the two D2 views fleet.d2 and network.d2; and the table above, fleet-table.md.
After changing the inventory, the registry or the declared facts, run just docs topology-generate and commit the result with the change, so the reviewer reads the move in the diff of fleet.json.
The check fleet-topology-fresh fails a change whose committed files differ from what the flake produces, and rejects a view that is not valid D2.
just docs diagrams-build and the docs package render the views with d2 --layout elk and pass them through the same svgo step as the other diagrams, which keeps every label as text.
Related
Section titled “Related”- Architecture overview — the composition patterns behind the hosts on this map
- Clan Integration — the inventory the map reads
- Build service topology — the build service on magnetite in detail
- Browser evidence — where a pull request shows these views before and after a change