swarm-bao-agent-pki (the agent PKI mount, its root and role, and the listener's trust in it, with the restart of openbao) and swarm-bao-agent-ssh-policy (the agent SSH CA mount and its role) are their own module, with the bindings only they use. The mount names, the cached agent CA, the listener bundle and the unit timeouts the host module also reads join lib/swarm-bao-shared.nix. Refs #6820
106 lines
3.5 KiB
Nix
106 lines
3.5 KiB
Nix
# The full hyperhive host stack, pulled together in one place — this
|
|
# is what the flake exports as `nixosModules.default` (wrapped with
|
|
# the package/source wiring; see flake.nix). One import covers
|
|
# everything; `services.hyperhive.deploy.hive-controller.enable = true`
|
|
# runs a hive on this host.
|
|
#
|
|
# Every swarm needs the forge — it's the canonical store for every agent's
|
|
# config repo, the meta flake and the `internal/*` repos — but only the host with `deploy.forgejo.enable`
|
|
# runs it (derived from `deploy.allSwarmServices`, see
|
|
# ./swarm-required-services.nix). hive-matrix is opt-in (off by default). All
|
|
# subsystems rely on `services.hyperhive.domain`, which is required
|
|
# (asserted in hive-network.nix) wherever this host runs a hive.
|
|
{
|
|
imports = [
|
|
./hyperhive.nix
|
|
./deploy.nix
|
|
./local-defaults.nix
|
|
./hive-c0re
|
|
./hive-forge
|
|
./hive-gateway
|
|
./hive-matrix-service.nix
|
|
./hive-matrix.nix
|
|
./hive-network.nix
|
|
./hive-egress.nix
|
|
./hive-priv.nix
|
|
./hive-archive-backup.nix
|
|
./hive-priv-cache.nix
|
|
./hive-squid.nix
|
|
./hive-squid-credential.nix
|
|
./hive-tls.nix
|
|
./otel.nix
|
|
./glue-bao-readers-policy-order.nix
|
|
./glue-bao-readers-store-order.nix
|
|
./glue-bao-tls.nix
|
|
./glue-bao-ui-oidc-client.nix
|
|
./glue-controller-bao-identity.nix
|
|
./glue-controller-env.nix
|
|
./glue-controller-oidc-client.nix
|
|
./glue-forge-controller.nix
|
|
./glue-forge-oidc-client.nix
|
|
./glue-grafana-oidc-client.nix
|
|
./glue-hive-otel-authelia.nix
|
|
./glue-hive-tls-bao-identity.nix
|
|
./glue-hive-tls-controllers.nix
|
|
./glue-logs-auth-bao-identity.nix
|
|
./glue-metrics-auth-bao-identity.nix
|
|
./glue-matrix-ctl-bao-identity.nix
|
|
./glue-matrix-hive-discovery.nix
|
|
./glue-matrix-oidc-client.nix
|
|
./glue-nats-auth-bao-identity.nix
|
|
./glue-nats-bao-identity.nix
|
|
./glue-nats-oidc-client.nix
|
|
./glue-builder-oidc-client.nix
|
|
./glue-ci-metrics-otel-oidc-client.nix
|
|
./glue-ci-runner-otel-oidc-client.nix
|
|
./glue-claude-login-oidc-client.nix
|
|
./glue-notify-router-oidc-client.nix
|
|
./glue-stt-oidc-client.nix
|
|
./glue-attic-otel-oidc-client.nix
|
|
./glue-forge-otel-oidc-client.nix
|
|
./glue-grafana-otel-oidc-client.nix
|
|
./glue-matrix-otel-oidc-client.nix
|
|
./glue-review-classifier-oidc-client.nix
|
|
./glue-secret-publisher-authelia.nix
|
|
./glue-secret-publisher-bao-identity.nix
|
|
./glue-swarm-bao-otel-oidc-client.nix
|
|
./glue-swarm-otel-oidc-client.nix
|
|
./glue-victorialogs-otel-oidc-client.nix
|
|
./glue-victoriametrics-otel-oidc-client.nix
|
|
./swarm-archive.nix
|
|
./swarm-attic-options.nix
|
|
./swarm-attic.nix
|
|
./swarm-authelia-service.nix
|
|
./swarm-authelia.nix
|
|
./swarm-bao-service.nix
|
|
./swarm-bao.nix
|
|
./swarm-bao-operator-viewer.nix
|
|
./swarm-bao-readers.nix
|
|
./swarm-bao-agent-pki.nix
|
|
./swarm-builder.nix
|
|
./swarm-claude-login.nix
|
|
./swarm-notify-router.nix
|
|
./swarm-stt.nix
|
|
./swarm-ci-metrics.nix
|
|
./swarm-ci-runner.nix
|
|
./swarm-review-classifier.nix
|
|
./swarm-secret-publisher.nix
|
|
./swarm-nats-service.nix
|
|
./swarm-nats.nix
|
|
./swarm-controller.nix
|
|
./swarm-grafana-service.nix
|
|
./swarm-grafana.nix
|
|
./swarm-otel-service.nix
|
|
./swarm-otel.nix
|
|
./swarm-ui.nix
|
|
./swarm-victorialogs-service.nix
|
|
./swarm-victorialogs.nix
|
|
./swarm-victoriametrics-service.nix
|
|
./swarm-victoriametrics.nix
|
|
./swarm.nix
|
|
./hive-options-removed.nix
|
|
./host-ca-removed.nix
|
|
./nats-callout-removed.nix
|
|
./swarm-required-services.nix
|
|
];
|
|
}
|