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}";