reorganize glance

This commit is contained in:
2026-08-25 13:24:35 -05:00
parent 9fa860c86c
commit f45b902e58
+34 -2
View File
@@ -77,7 +77,7 @@ in {
default = []; default = [];
description = "list of links for ${service}"; description = "list of links for ${service}";
}; };
nomad = lib.mkOption { network = lib.mkOption {
type = lib.types.listOf lib.types.attrs; type = lib.types.listOf lib.types.attrs;
default = []; default = [];
description = "list of links for ${service}"; description = "list of links for ${service}";
@@ -249,6 +249,12 @@ in {
title = "system"; title = "system";
sites = cfg.links.system; sites = cfg.links.system;
} }
{
type = "monitor";
cache = "1m";
title = "network";
sites = cfg.links.network;
}
{ {
type = "custom-api"; type = "custom-api";
title = "recpro"; title = "recpro";
@@ -358,8 +364,18 @@ in {
} }
]; ];
# add to udr to glance
homelab.glance.links.system = [ homelab.glance.links.system = [
{
title = "vaniville uptime";
url = "https://up.${homelab.public_domain}";
error-url = "https://up.vaniville.${homelab.public_domain}";
check-url = "https://up.${homelab.public_domain}";
icon = "di:uptime-kuma";
}
];
# add to udr to glance
homelab.glance.links.network = [
{ {
title = "shauna"; title = "shauna";
url = "https://shauna.holocron.blue"; url = "https://shauna.holocron.blue";
@@ -376,6 +392,22 @@ in {
icon = "di:unifi"; icon = "di:unifi";
allow-insecure = true; allow-insecure = true;
} }
{
title = "korrina";
url = "https://korrina.holocron.blue";
error-url = "https://100.101.11.1";
check-url = "https://100.101.11.1";
icon = "di:unifi";
allow-insecure = true;
}
{
title = "linode";
url = "https://cloud.linode.com/linodes";
error-url = "https://status.linode.com";
check-url = "https://cloud.linode.com/linodes";
icon = "di:linode";
allow-insecure = true;
}
]; ];
}; };
} }