From 3fdc3bb15b64ea40ab9d4a90af5d88430a6c5d6d Mon Sep 17 00:00:00 2001 From: atlas Date: Mon, 17 Aug 2026 20:37:52 +0200 Subject: [PATCH] fix(#3396): name the matrix bundle from a literal, not a missing option hive-matrix.nix declares no `machine` option -- the idiom was copied from swarm-grafana, which does. Any hive with matrix enabled failed to evaluate. --- nix/host-modules/hive-matrix.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nix/host-modules/hive-matrix.nix b/nix/host-modules/hive-matrix.nix index 248695f6..0661aa6b 100644 --- a/nix/host-modules/hive-matrix.nix +++ b/nix/host-modules/hive-matrix.nix @@ -798,9 +798,12 @@ in # so naming the hive anchor alone would drop every public CA and # break federation with the wider matrix network — trading a small # outage for a much larger one. + # A literal, not an option: this module names its container + # `containers.hive-matrix` directly and declares no `machine` + # option to derive it from. (caTrust.trustBundle { inherit pkgs; - name = cfg.machine; + name = "hive-matrix"; consumers = [ "tuwunel" ]; }) ];