1
0
Fork 0
forked from emily/nixfiles

crime: add lidarr

This commit is contained in:
emily 2024-11-26 12:15:49 +01:00
parent c2c39502c8
commit 247420a189
Signed by untrusted user: emily
GPG key ID: F6F4C66207FCF995
2 changed files with 12 additions and 3 deletions

View file

@ -1,8 +1,11 @@
{ lib, pkgs, ... }: { { lib, pkgs, ... }: {
services = { services = lib.genAttrs [
prowlarr.enable = true; "sonarr"
} // lib.genAttrs [ "sonarr" "radarr" ] (_: { "radarr"
"prowlarr"
"lidarr"
] (_: {
enable = true; enable = true;
}); });
systemd.services = lib.genAttrs [ "radarr" "sonarr" ] (_: { systemd.services = lib.genAttrs [ "radarr" "sonarr" ] (_: {
@ -36,6 +39,10 @@
disableHttp3 = true; disableHttp3 = true;
locations = { locations = {
"/".root = pkgs.writeTextDir "index.html" (builtins.readFile ./landingPage.html); "/".root = pkgs.writeTextDir "index.html" (builtins.readFile ./landingPage.html);
"/lidarr/" = {
proxyPass = "http://127.0.0.1:8686";
recommendedProxySettings = true;
};
"/sonarr/" = { "/sonarr/" = {
proxyPass = "http://127.0.0.1:8989"; proxyPass = "http://127.0.0.1:8989";
recommendedProxySettings = true; recommendedProxySettings = true;

View file

@ -19,6 +19,8 @@ working. Further configuration is required.</p>
<a href="https://crime.kyouma.net/sonarr">crime.kyouma.net/sonarr</a><br/> <a href="https://crime.kyouma.net/sonarr">crime.kyouma.net/sonarr</a><br/>
Radarr Radarr
<a href="https://crime.kyouma.net/radarr">crime.kyouma.net/radarr</a><br/> <a href="https://crime.kyouma.net/radarr">crime.kyouma.net/radarr</a><br/>
Lidarr
<a href="https://crime.kyouma.net/lidarr">crime.kyouma.net/lidarr</a><br/>
Prowlarr Prowlarr
<a href="https://crime.kyouma.net/prowlarr">crime.kyouma.net/prowlarr</a></p> <a href="https://crime.kyouma.net/prowlarr">crime.kyouma.net/prowlarr</a></p>