mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +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 =
|
||||
host.config.custom.services.caddy.virtualHosts |> lib.attrValues |> lib.map (vHost: vHost.domain);
|
||||
})
|
||||
|> lib.filter ({ domains, ... }: domains != [ ])
|
||||
|> lib.map (
|
||||
{ hostName, domains }:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue