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"; service = "jellyfin";
cfg = config.homelab.${service}; cfg = config.homelab.${service};
homelab = config.homelab; homelab = config.homelab;
host = config.networking.hostName;
in { in {
options.homelab.${service} = { options.homelab.${service} = {
enable = lib.mkEnableOption "enables ${service}"; enable = lib.mkEnableOption "enables ${service}";
@@ -85,7 +86,7 @@ in {
homelab.glance.links.mediastack = [ homelab.glance.links.mediastack = [
{ {
title = service; title = service;
url = "https://media.${homelab.public_domain}"; url = "https://media.${host}.${homelab.public_domain}";
error-url = "http://${homelab.host_ip}:${toString cfg.port}"; error-url = "http://${homelab.host_ip}:${toString cfg.port}";
check-url = "http://${homelab.host_ip}:${toString cfg.port}"; check-url = "http://${homelab.host_ip}:${toString cfg.port}";
icon = "di:${service}"; icon = "di:${service}";