mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-16 07:40:14 +00:00
add lidarr
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user