update glance for service move
This commit is contained in:
@@ -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}";
|
||||
|
||||
Reference in New Issue
Block a user