diff --git a/config/services/arrs/default.nix b/config/services/arrs/default.nix index 055b496..18e241c 100644 --- a/config/services/arrs/default.nix +++ b/config/services/arrs/default.nix @@ -1,8 +1,11 @@ { lib, pkgs, ... }: { - services = { - prowlarr.enable = true; - } // lib.genAttrs [ "sonarr" "radarr" ] (_: { + services = lib.genAttrs [ + "sonarr" + "radarr" + "prowlarr" + "lidarr" + ] (_: { enable = true; }); systemd.services = lib.genAttrs [ "radarr" "sonarr" ] (_: { @@ -36,6 +39,10 @@ disableHttp3 = true; locations = { "/".root = pkgs.writeTextDir "index.html" (builtins.readFile ./landingPage.html); + "/lidarr/" = { + proxyPass = "http://127.0.0.1:8686"; + recommendedProxySettings = true; + }; "/sonarr/" = { proxyPass = "http://127.0.0.1:8989"; recommendedProxySettings = true; diff --git a/config/services/arrs/landingPage.html b/config/services/arrs/landingPage.html index e32b0ec..e2595ac 100644 --- a/config/services/arrs/landingPage.html +++ b/config/services/arrs/landingPage.html @@ -19,6 +19,8 @@ working. Further configuration is required.

crime.kyouma.net/sonarr
Radarr crime.kyouma.net/radarr
+Lidarr +crime.kyouma.net/lidarr
Prowlarr crime.kyouma.net/prowlarr