diff --git a/hosts/layne/services/apps/default.nix b/hosts/layne/services/apps/default.nix index d405c50..97f7b20 100644 --- a/hosts/layne/services/apps/default.nix +++ b/hosts/layne/services/apps/default.nix @@ -4,6 +4,7 @@ _: { ./transmission.nix ./radarr.nix ./sonarr.nix + ./readarr.nix ./jackett.nix ../../../shared/prometheus-exporters.nix ../../../shared/promtail.nix diff --git a/hosts/layne/services/apps/readarr.nix b/hosts/layne/services/apps/readarr.nix new file mode 100644 index 0000000..48d0ebc --- /dev/null +++ b/hosts/layne/services/apps/readarr.nix @@ -0,0 +1,16 @@ +_: { + services = { + caddy.virtualHosts."readarr.labs.adtya.xyz" = { + extraConfig = '' + reverse_proxy 127.0.0.1:8787 + ''; + }; + readarr = { + enable = true; + dataDir = "/mnt/data/readarr"; + user = "mediaserver"; + group = "mediaserver"; + }; + }; + systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ]; +} diff --git a/hosts/rico0/services/apps/blocky.nix b/hosts/rico0/services/apps/blocky.nix index edd1f14..c293deb 100644 --- a/hosts/rico0/services/apps/blocky.nix +++ b/hosts/rico0/services/apps/blocky.nix @@ -80,6 +80,7 @@ in "jellyfin.labs.adtya.xyz" = "10.10.10.14"; "radarr.labs.adtya.xyz" = "10.10.10.14"; "sonarr.labs.adtya.xyz" = "10.10.10.14"; + "readarr.labs.adtya.xyz" = "10.10.10.14"; "jackett.labs.adtya.xyz" = "10.10.10.14"; "jellyfin.local.adtya.xyz" = "192.168.1.14"; };