From f45b902e5858a565aaa45e7c6c4e9d4e6e780668 Mon Sep 17 00:00:00 2001 From: blake Date: Tue, 25 Aug 2026 13:24:30 -0500 Subject: [PATCH] reorganize glance --- modules/homelab/services/glance/default.nix | 36 +++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/modules/homelab/services/glance/default.nix b/modules/homelab/services/glance/default.nix index 0c73594..68b42e6 100644 --- a/modules/homelab/services/glance/default.nix +++ b/modules/homelab/services/glance/default.nix @@ -77,7 +77,7 @@ in { default = []; description = "list of links for ${service}"; }; - nomad = lib.mkOption { + network = lib.mkOption { type = lib.types.listOf lib.types.attrs; default = []; description = "list of links for ${service}"; @@ -249,6 +249,12 @@ in { title = "system"; sites = cfg.links.system; } + { + type = "monitor"; + cache = "1m"; + title = "network"; + sites = cfg.links.network; + } { type = "custom-api"; title = "recpro"; @@ -358,8 +364,18 @@ in { } ]; - # add to udr to glance 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"; url = "https://shauna.holocron.blue"; @@ -376,6 +392,22 @@ in { icon = "di:unifi"; 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; + } ]; }; }