hyperhive/nix/host-modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 13b1b41172 local-defaults: assert the controller through deploy, not the old alias
Round-3 review catch: the all-local mode still set
`services.hyperhive.swarm.controller.enable` -- the exact path this
branch's own `mkRenamedOptionModule` deprecates. It forwards correctly,
so nothing broke, but every eval with `enableAllLocalDefaults = true`
printed a deprecation warning and the tree depended on the shim it is
retiring.

It survived the rewrite because the path is SPLIT ACROSS NESTING:
`swarm = { controller.enable = ...; }`. No grep for a dotted path can
match text that is not contiguous -- not the prefix-anchored pattern the
rewrite used, and not the suffix-anchored one added after that missed
hive-tls.nix. What finds it is the bare tail with no prefix at all
(`^\s*controller\.enable\s*=`), which reports exactly one hit outside
deploy.nix's declarations.

The assignment moves out of the `swarm` attrset rather than staying in
it: `deploy.*` is a different top-level path, so the collision the
neighbouring warning describes -- two definitions of `swarm`, the nested
one silently lost -- does not apply.
2026-08-30 04:23:22 +02:00
..
hive-c0re types: let nix own the reserved-name blacklist 2026-08-27 16:36:42 +02:00
hive-forge deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
hive-gateway gateway: move verifiedProxyTo's 42-line rationale comment to docs/gateway.md 2026-08-28 10:48:26 +02:00
lib fix(#3527): a missing source must report as zero, not as empty 2026-08-19 20:27:00 +02:00
swarm-grafana/dashboards grafana: rank the by-label panel as bars, and stop calling it open issues 2026-08-28 13:23:25 +02:00
default.nix deploy: separate "what this host deploys" from swarm-wide truth 2026-08-30 04:23:22 +02:00
deploy.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
hive-ci.nix nix, hive-sh4re: name modules that exist in the stale harness-base refs 2026-08-30 04:19:11 +02:00
hive-matrix.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
hive-network.nix require network isolation, deleting the residual non-isolated branch 2026-08-30 03:32:08 +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 deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +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 local-defaults: assert the controller through deploy, not the old alias 2026-08-30 04:23:22 +02:00
otel.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
stylix-theme.nix swarm-ui: apply the operator's stylix theme, same as the dashboard already does 2026-08-24 14:28:25 +02:00
swarm-authelia.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
swarm-ca.nix swarm-otel: collect only the units the swarm's services declare 2026-08-24 22:05:45 +02:00
swarm-container-resolver.nix fix(#3363): swarm containers write their own resolver file 2026-08-17 17:30:15 +02:00
swarm-controller.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
swarm-grafana.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
swarm-nats.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
swarm-otel.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
swarm-peers-removed.nix docs+nix: fix stale certFingerprint/HYPERHIVE_PEERS references (hyperhive#3294) 2026-08-15 19:56:11 +02:00
swarm-required-services.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +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 deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
swarm-victorialogs.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
swarm-victoriametrics.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00
swarm-wireguard.nix docs+nix: fix stale certFingerprint/HYPERHIVE_PEERS references (hyperhive#3294) 2026-08-15 19:56:11 +02:00
swarm.nix deploy: give every option an enable, and name the controller one 2026-08-30 04:23:22 +02:00