pkgs/gateway-report: fix table headings
This commit is contained in:
parent
43a9a97627
commit
538905b2d9
|
@ -50,7 +50,7 @@ writeText "vlan-report.md" ''
|
||||||
${lib.optionalString (routers4 != []) ''
|
${lib.optionalString (routers4 != []) ''
|
||||||
### IPv4 `${netConfig.subnet4}`
|
### IPv4 `${netConfig.subnet4}`
|
||||||
|
|
||||||
| Address | Name | Upstream | Fallback |
|
| Address | Name | Primary Uplink | Fallback Uplink |
|
||||||
|-|-|-|-|
|
|-|-|-|-|
|
||||||
${lib.concatMapStrings (hostName:
|
${lib.concatMapStrings (hostName:
|
||||||
let
|
let
|
||||||
|
@ -75,13 +75,13 @@ writeText "vlan-report.md" ''
|
||||||
''}
|
''}
|
||||||
|
|
||||||
${lib.optionalString (routers6 != {}) ''
|
${lib.optionalString (routers6 != {}) ''
|
||||||
### IPv6: ${lib.concatStringsSep " " (
|
### IPv6 ${lib.concatStringsSep " " (
|
||||||
map (s: "`${s}`") (
|
map (s: "`${s}`") (
|
||||||
builtins.attrValues netConfig.subnets6
|
builtins.attrValues netConfig.subnets6
|
||||||
)
|
)
|
||||||
)}
|
)}
|
||||||
|
|
||||||
| Address | Name | Upstream | Description |
|
| Address | Name | Primary Uplink | Fallback Uplink |
|
||||||
|-|-|-|-|
|
|-|-|-|-|
|
||||||
${lib.concatMapStrings (hostName:
|
${lib.concatMapStrings (hostName:
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in New Issue