From f73bcc66eb8619892dfa961c2666a180a7867d6b Mon Sep 17 00:00:00 2001 From: atlas Date: Mon, 22 Jun 2026 22:11:43 +0200 Subject: [PATCH] hive-gateway.nix: nix fmt (collapse lib.optional block left dirty by the forge-fix) --- nix/modules/hive-gateway.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nix/modules/hive-gateway.nix b/nix/modules/hive-gateway.nix index 4d56bde9..359fc24d 100644 --- a/nix/modules/hive-gateway.nix +++ b/nix/modules/hive-gateway.nix @@ -992,9 +992,7 @@ in address = [ "/${hyperhiveDomain}/${networkCfg.bridgeIp}" ] - ++ lib.optional ( - (forgeCfg.behindGateway or false) - ) "/${forgeCfg.domain}/${networkCfg.bridgeIp}" + ++ lib.optional ((forgeCfg.behindGateway or false)) "/${forgeCfg.domain}/${networkCfg.bridgeIp}" ++ lib.optional ( matrixCfg.enable && matrixCfg.gatewayHost != null ) "/${matrixCfg.gatewayHost}/${networkCfg.bridgeIp}";