diff --git a/hosts/layne/services/apps/default.nix b/hosts/layne/services/apps/default.nix index 0c78432..27408f9 100644 --- a/hosts/layne/services/apps/default.nix +++ b/hosts/layne/services/apps/default.nix @@ -2,6 +2,7 @@ _: { imports = [ ./jellyfin.nix ./transmission.nix + ./radarr.nix ../../../shared/prometheus-exporters.nix ../../../shared/promtail.nix ]; diff --git a/hosts/layne/services/apps/radarr.nix b/hosts/layne/services/apps/radarr.nix new file mode 100644 index 0000000..1956f8a --- /dev/null +++ b/hosts/layne/services/apps/radarr.nix @@ -0,0 +1,14 @@ +_: { + services = { + caddy.virtualHosts."radarr.labs.adtya.xyz" = { + extraConfig = '' + reverse_proxy 127.0.0.1:7878 + ''; + }; + radarr = { + enable = true; + dataDir = "/mnt/data/radarr"; + }; + }; + systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ]; +} diff --git a/hosts/rico0/services/apps/blocky.nix b/hosts/rico0/services/apps/blocky.nix index 09c8d62..12aeef2 100644 --- a/hosts/rico0/services/apps/blocky.nix +++ b/hosts/rico0/services/apps/blocky.nix @@ -78,6 +78,7 @@ in "prometheus.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "transmission.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14"; "jellyfin.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14"; + "radarr.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14"; "jellyfin.local.adtya.xyz" = "192.168.1.14"; }; };