diff --git a/modules/homelab/services/glance/default.nix b/modules/homelab/services/glance/default.nix index fb5ab4b..b10f48e 100644 --- a/modules/homelab/services/glance/default.nix +++ b/modules/homelab/services/glance/default.nix @@ -249,12 +249,6 @@ in { title = "system"; sites = cfg.links.system; } - { - type = "monitor"; - cache = "1m"; - title = "system"; - sites = cfg.links.nomad; - } { type = "custom-api"; title = "recpro"; @@ -262,13 +256,13 @@ in { cache = "5s"; template = "
\n
\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n \n \n {{ end }}\n
\n\n
\n \n {{ .JSON.String \"host\" }}\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n {{ end }}\n \n\n \n
\n
"; } - { - type = "custom-api"; - title = "linggango"; - url = "https://api.mcstatus.io/v2/status/java/raceraskedforthisenjoyyall.recoil.pro"; - cache = "5s"; - template = "
\n
\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n \n \n {{ end }}\n
\n\n
\n \n {{ .JSON.String \"host\" }}\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n {{ end }}\n \n\n \n
\n
"; - } + # { + # type = "custom-api"; + # title = "linggango"; + # url = "https://api.mcstatus.io/v2/status/java/raceraskedforthisenjoyyall.recoil.pro"; + # cache = "5s"; + # template = "
\n
\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n \n \n {{ end }}\n
\n\n
\n \n {{ .JSON.String \"host\" }}\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n {{ end }}\n \n\n \n
\n
"; + # } ]; } { @@ -346,6 +340,24 @@ in { }; }; + # add to vaniville services to glance + homelab.glance.links.services = [ + { + title = "vaultwarden"; + url = "https://pass.${homelab.public_domain}"; + error-url = "https://pass.vaniville.${homelab.public_domain}"; + check-url = "https://pass.${homelab.public_domain}"; + icon = "di:${service}"; + } + { + title = service; + url = "https://git.${homelab.public_domain}"; + error-url = "https://git.vaniville.${homelab.public_domain}"; + check-url = "https://git.${homelab.public_domain}"; + icon = "di:${service}"; + } + ]; + # add to udr to glance homelab.glance.links.system = [ {