1
0
Fork 0

fix arr config

This commit is contained in:
ibizaman 2023-09-25 23:15:36 -07:00
parent ad6809fc5d
commit fda0daf6d3

View file

@ -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;