hive-gateway.nix: nix fmt (collapse lib.optional block left dirty by the forge-fix)
This commit is contained in:
parent
419f4cd92a
commit
f73bcc66eb
1 changed files with 1 additions and 3 deletions
|
|
@ -992,9 +992,7 @@ in
|
||||||
address = [
|
address = [
|
||||||
"/${hyperhiveDomain}/${networkCfg.bridgeIp}"
|
"/${hyperhiveDomain}/${networkCfg.bridgeIp}"
|
||||||
]
|
]
|
||||||
++ lib.optional (
|
++ lib.optional ((forgeCfg.behindGateway or false)) "/${forgeCfg.domain}/${networkCfg.bridgeIp}"
|
||||||
(forgeCfg.behindGateway or false)
|
|
||||||
) "/${forgeCfg.domain}/${networkCfg.bridgeIp}"
|
|
||||||
++ lib.optional (
|
++ lib.optional (
|
||||||
matrixCfg.enable && matrixCfg.gatewayHost != null
|
matrixCfg.enable && matrixCfg.gatewayHost != null
|
||||||
) "/${matrixCfg.gatewayHost}/${networkCfg.bridgeIp}";
|
) "/${matrixCfg.gatewayHost}/${networkCfg.bridgeIp}";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue