diff --git a/flake.nix b/flake.nix index 4655248..d3987a1 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 302 current 2025-10-11 16:40:25 25.05.20251006.20c4598 6.12.50 * +# generation: 303 current 2025-10-11 16:41:52 25.05.20251006.20c4598 6.12.50 * { description = "blakes nix config"; inputs = { diff --git a/modules/homelab/default.nix b/modules/homelab/default.nix index 260c6eb..46a39d0 100644 --- a/modules/homelab/default.nix +++ b/modules/homelab/default.nix @@ -27,6 +27,11 @@ in type = lib.types.str; description = "base domain used for reverse proxy"; }; + host_ip = lib.mkOption { + default = "10.10.0.10"; + type = lib.types.str; + description = "base domain used for reverse proxy"; + }; }; imports = [ diff --git a/modules/homelab/services/arr/radarr/default.nix b/modules/homelab/services/arr/radarr/default.nix index 3dd5e62..966dc1e 100644 --- a/modules/homelab/services/arr/radarr/default.nix +++ b/modules/homelab/services/arr/radarr/default.nix @@ -90,6 +90,8 @@ in modules.services.glance.links.mediastack = [{ title = service; url = "https://${cfg.url}"; + error-url = "https://${homelab.host_ip}:${toString cfg.port}"; + check-url = "https://${homelab.host_ip}:${toString cfg.port}"; icon = "di:${service}"; allow-insecure = true; }]; diff --git a/modules/homelab/services/arr/sonarr/default.nix b/modules/homelab/services/arr/sonarr/default.nix index 621ab5c..d2b0bef 100644 --- a/modules/homelab/services/arr/sonarr/default.nix +++ b/modules/homelab/services/arr/sonarr/default.nix @@ -88,6 +88,8 @@ in modules.services.glance.links.mediastack = [{ title = service; url = "https://${cfg.url}"; + error-url = "https://${homelab.host_ip}:${toString cfg.port}"; + check-url = "https://${homelab.host_ip}:${toString cfg.port}"; icon = "di:${service}"; allow-insecure = true; }];