fix arr config
This commit is contained in:
parent
ad6809fc5d
commit
fda0daf6d3
1 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue