meta/services: Rename name to title

This commit is contained in:
SebastianStork 2026-03-09 23:51:47 +01:00
parent 7ac4050d85
commit 784a20644f
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
23 changed files with 29 additions and 44 deletions

View file

@ -21,19 +21,7 @@ let
type = "monitor";
cache = "1m";
title = "Services - ${hostName}";
sites =
services
|> lib.map (
{
name,
url,
icon,
}:
{
title = name;
inherit url icon;
}
);
sites = services;
}
);
in
@ -60,19 +48,16 @@ in
name = "Home";
center-vertically = true;
hide-desktop-navigation = true;
columns = lib.singleton {
size = "full";
widgets = [
{
widgets =
lib.singleton {
type = "search";
search-engine = "google";
autofocus = true;
}
{
type = "split-column";
widgets = servicesWidgets;
}
];
++ servicesWidgets;
};
};
};
@ -82,7 +67,7 @@ in
services.caddy.virtualHosts.${cfg.domain}.port = cfg.port;
meta.services.${cfg.domain} = {
name = "Glance";
title = "Glance";
icon = "sh:glance";
};
};