mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
glance: Only display hosts that have services
This commit is contained in:
parent
8c549955c2
commit
5cfb73e183
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ in
|
||||||
domains =
|
domains =
|
||||||
host.config.custom.services.caddy.virtualHosts |> lib.attrValues |> lib.map (vHost: vHost.domain);
|
host.config.custom.services.caddy.virtualHosts |> lib.attrValues |> lib.map (vHost: vHost.domain);
|
||||||
})
|
})
|
||||||
|
|> lib.filter ({ domains, ... }: domains != [ ])
|
||||||
|> lib.map (
|
|> lib.map (
|
||||||
{ hostName, domains }:
|
{ hostName, domains }:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue