From ce4d5187a93c969271ad0251d8fa579660930a94 Mon Sep 17 00:00:00 2001 From: atlas Date: Mon, 7 Sep 2026 20:39:24 +0200 Subject: [PATCH] deploy: two comments still say a package stays under swarm.* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both are regressions from earlier commits in this same slice, not pre-existing drift: - the nats comment listed "the responder package" among what stays under `swarm.nats`; `authPackage` moved in a17286c4 - the matrix comment listed "its package" among what `swarm.matrix` keeps; both matrix packages moved in 1b2da54c Each move edited the prose in the module that declares the option — `swarm-nats.nix` carries the same "responder package" sentence and it was corrected there — but deploy.nix keeps its own one-paragraph description of every service, next to that service's shims. It is a per-module prose site that does not live in the module, so a sweep scoped to the module cannot reach it. The counts in both comments were checked and are correct as written: the matrix block has six shims and the nats block five. The `*.package` entries append to the separate block further down, which already has a comment saying what it is, so no count moved. Each fix is one clause. --- nix/host-modules/deploy.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/nix/host-modules/deploy.nix b/nix/host-modules/deploy.nix index 45b1eade..4c94d1ae 100644 --- a/nix/host-modules/deploy.nix +++ b/nix/host-modules/deploy.nix @@ -164,9 +164,10 @@ in ) # The queue's callout identity. What stays under `swarm.nats` is what the - # queue IS to every hive — the ports it answers on, the client id it is - # registered under, the responder package; these five are what the host - # running it decides. + # queue IS to every hive — the ports it answers on and the client id it is + # registered under; these five are what the host running it decides. The + # responder package is one of them now, further down with the other + # `*.package` moves. # # ⚠️ The two PUBLIC keys move with their seeds. A public key looks # swarm-wide, and the user key genuinely is published to every client that @@ -227,9 +228,10 @@ in ) # The homeserver, split the same way. `swarm.matrix` keeps what it IS to - # every hive — its package, the name it answers to, the ports and URLs it - # is reached on, the client id it is registered under. These six are what - # the host running it decides. ⚠️ `enable` is NOT here: it was renamed + # every hive — the name it answers to, the ports and URLs it is reached + # on, the client id it is registered under. These six are what the host + # running it decides; its two packages moved as well, further down with + # the other `*.package` moves. ⚠️ `enable` is NOT here: it was renamed # earlier and its shim lives in ./hive-matrix.nix, so that file is the one # to check before assuming this table is the whole matrix story. (lib.mkRenamedOptionModule