update glance for service move

This commit is contained in:
2026-08-23 12:44:30 -05:00
parent 688c96ae9a
commit e4ebae88fe
@@ -7,6 +7,7 @@
service = "jellyfin";
cfg = config.homelab.${service};
homelab = config.homelab;
host = config.networking.hostName;
in {
options.homelab.${service} = {
enable = lib.mkEnableOption "enables ${service}";
@@ -85,7 +86,7 @@ in {
homelab.glance.links.mediastack = [
{
title = service;
url = "https://media.${homelab.public_domain}";
url = "https://media.${host}.${homelab.public_domain}";
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
icon = "di:${service}";