From fda0daf6d3edc5762d32282537197a4530c947f3 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Mon, 25 Sep 2023 23:15:36 -0700 Subject: [PATCH] fix arr config --- modules/arr.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/arr.nix b/modules/arr.nix index 94da023..7d9cdd4 100644 --- a/modules/arr.nix +++ b/modules/arr.nix @@ -5,10 +5,10 @@ let apps = { radarr = { - defaultPort = 8989; + defaultPort = 7878; }; sonarr = { - defaultPort = 7878; + defaultPort = 8989; }; bazarr = { defaultPort = 6767; @@ -64,18 +64,18 @@ in options.shb.arr = lib.listToAttrs (lib.mapAttrsToList appOption apps); config = { - # Listens on port 8989 - services.sonarr = lib.mkIf cfg.sonarr.enable { - enable = true; - dataDir = "/var/lib/sonarr"; - }; - # Listens on port 7878 services.radarr = lib.mkIf cfg.radarr.enable { enable = true; dataDir = "/var/lib/radarr"; }; + # Listens on port 8989 + services.sonarr = lib.mkIf cfg.sonarr.enable { + enable = true; + dataDir = "/var/lib/sonarr"; + }; + services.bazarr = lib.mkIf cfg.bazarr.enable { enable = true; listenPort = cfg.bazarr.port;