mirror of
https://github.com/Superredstone/nixos.git
synced 2026-08-19 11:48:57 +02:00
feat(bomba): add lidarr
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
qbittorrent_password = default;
|
||||
radarr_api_key = default;
|
||||
sonarr_api_key = default;
|
||||
lidarr_api_key = default;
|
||||
prowlarr_api_key = default;
|
||||
seerr_api_key = default;
|
||||
indexers_ilcorsaroblu_password = default;
|
||||
|
||||
@@ -62,6 +62,9 @@
|
||||
"sonarr.patrickcanal.it".extraConfig = ''
|
||||
reverse_proxy :${toString config.nixflix.sonarr.settings.server.port}
|
||||
'';
|
||||
"lidarr.patrickcanal.it".extraConfig = ''
|
||||
reverse_proxy :${toString config.nixflix.lidarr.settings.server.port}
|
||||
'';
|
||||
"prowlarr.patrickcanal.it".extraConfig = ''
|
||||
reverse_proxy :${toString config.nixflix.prowlarr.settings.server.port}
|
||||
'';
|
||||
|
||||
@@ -11,6 +11,7 @@ let
|
||||
prowlarrPort = 8008;
|
||||
seerrPort = 8009;
|
||||
sonarrPort = 8010;
|
||||
lidarrPort = 8012;
|
||||
hostConfig = {
|
||||
username = user;
|
||||
password._secret = config.sops.secrets.nixflix_password.path;
|
||||
@@ -64,6 +65,16 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
lidarr = {
|
||||
enable = true;
|
||||
config = {
|
||||
apiKey._secret = config.sops.secrets.lidarr_api_key.path;
|
||||
hostConfig = hostConfig // {
|
||||
port = lidarrPort;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
prowlarr = {
|
||||
enable = true;
|
||||
settings.server.port = prowlarrPort;
|
||||
@@ -115,6 +126,13 @@ in
|
||||
"${mediaDir}/tv"
|
||||
];
|
||||
};
|
||||
|
||||
Music = {
|
||||
collectionType = "music";
|
||||
paths = [
|
||||
"${mediaDir}/music"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user