add lidarr

This commit is contained in:
Noah Masur
2025-07-14 21:54:17 -06:00
parent b15a071782
commit 9d7ce47ac5
2 changed files with 44 additions and 0 deletions

View File

@ -27,6 +27,11 @@ let
url = "localhost:8989";
apiKey = config.secrets.sonarrApiKey.dest;
};
lidarr = {
exportarrPort = "9712";
url = "localhost:8686";
apiKey = config.secrets.lidarrApiKey.dest;
};
prowlarr = {
exportarrPort = "9709";
url = "localhost:9696";
@ -78,6 +83,9 @@ in
readarr = {
enable = true;
};
lidarr = {
enable = true;
};
};
# Allows shared group to read/write the sabnzbd directory
@ -133,6 +141,20 @@ in
}
];
}
{
match = [
{
host = [ hostnames.download ];
path = [ "/lidarr*" ];
}
];
handle = [
{
handler = "reverse_proxy";
upstreams = [ { dial = arrConfig.lidarr.url; } ];
}
];
}
{
match = [
{
@ -252,6 +274,11 @@ in
dest = "/var/private/sonarr-api";
prefix = "API_KEY=";
};
secrets.lidarrApiKey = {
source = ./lidarr-api-key.age;
dest = "/var/private/lidarr-api";
prefix = "API_KEY=";
};
secrets.prowlarrApiKey = {
source = ./prowlarr-api-key.age;
dest = "/var/private/prowlarr-api";