Watch
0
0
Fork
You've already forked hyperhive
0

move the small per-service host options to deploy.<service>

This commit is contained in:
atlas 2026-10-29 01:48:34 +01:00 • committed by mara
commit 525de62b06

View file

@ -259,6 +259,52 @@ in
[ "services" "hyperhive" "deploy" "hive-controller" "otel" "extraResourceAttributes" ]
)
# Per-service settings of the host that runs the service: they sit with the
# service's other deployment options, not under the swarm facts every host shares.
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "controller" "queue" "natsUrl" ]
[ "services" "hyperhive" "deploy" "swarm-controller" "queue" "natsUrl" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "controller" "queue" "tokenEndpoint" ]
[ "services" "hyperhive" "deploy" "swarm-controller" "queue" "tokenEndpoint" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "bao" "otel" "telemetryPort" ]
[ "services" "hyperhive" "deploy" "bao" "otel" "telemetryPort" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "nats" "monitorPort" ]
[ "services" "hyperhive" "deploy" "nats" "monitorPort" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "nats" "metricsPort" ]
[ "services" "hyperhive" "deploy" "nats" "metricsPort" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "nats" "otel" "telemetryPort" ]
[ "services" "hyperhive" "deploy" "nats" "otel" "telemetryPort" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "otel" "telemetryPort" ]
[ "services" "hyperhive" "deploy" "swarm-otel" "telemetryPort" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "victorialogs" "port" ]
[ "services" "hyperhive" "deploy" "victorialogs" "port" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "forge" "httpPort" ]
[ "services" "hyperhive" "deploy" "forgejo" "httpPort" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "matrix" "allowEncryption" ]
[ "services" "hyperhive" "deploy" "matrix" "allowEncryption" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "c0re" "nixpkgsFlake" ]
[ "services" "hyperhive" "deploy" "builder" "nixpkgsFlake" ]
)
# The homeserver's port and its firewall switch, removed rather than
# renamed: tuwunel listens on a unix socket only the gateway reaches, so
# there is no host port to choose or open.