From afde9f380fb87cd7d47ed7e5db1257b6d70df4da Mon Sep 17 00:00:00 2001 From: atlas Date: Fri, 25 Sep 2026 02:01:48 +0200 Subject: [PATCH] module-eval: give the forgejo-mirror fixtures deploy.forgejo.enable #4708 defaulted deploy.forgejo.enable to false, and the hive-forge module's whole config block (including the mirror-declared-without-a-controller warning) now hangs off it. controllerWithMirrors and mirrorsNoController both relied on the old always-on default to reach that warning path. --- nix/module-eval/swarm-services-switch.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/module-eval/swarm-services-switch.nix b/nix/module-eval/swarm-services-switch.nix index 6031c476..107123c5 100644 --- a/nix/module-eval/swarm-services-switch.nix +++ b/nix/module-eval/swarm-services-switch.nix @@ -69,10 +69,14 @@ let }; controllerWithMirrors = hive { deploy.swarm-controller.enable = true; + deploy.forgejo.enable = true; deploy.forgejo.mirrors = [ aMirror ]; c0re.orgAvatarPng = "/etc/marker-avatar.png"; }; - mirrorsNoController = hive { deploy.forgejo.mirrors = [ aMirror ]; }; + mirrorsNoController = hive { + deploy.forgejo.enable = true; + deploy.forgejo.mirrors = [ aMirror ]; + }; cases = [ { # `lib.all` over an empty set holds vacuously, so the roster is counted