forked from emily/nixfiles
crime: add lidarr
This commit is contained in:
parent
c2c39502c8
commit
247420a189
2 changed files with 12 additions and 3 deletions
|
@ -1,8 +1,11 @@
|
|||
{ lib, pkgs, ... }: {
|
||||
|
||||
services = {
|
||||
prowlarr.enable = true;
|
||||
} // lib.genAttrs [ "sonarr" "radarr" ] (_: {
|
||||
services = lib.genAttrs [
|
||||
"sonarr"
|
||||
"radarr"
|
||||
"prowlarr"
|
||||
"lidarr"
|
||||
] (_: {
|
||||
enable = true;
|
||||
});
|
||||
systemd.services = lib.genAttrs [ "radarr" "sonarr" ] (_: {
|
||||
|
@ -36,6 +39,10 @@
|
|||
disableHttp3 = true;
|
||||
locations = {
|
||||
"/".root = pkgs.writeTextDir "index.html" (builtins.readFile ./landingPage.html);
|
||||
"/lidarr/" = {
|
||||
proxyPass = "http://127.0.0.1:8686";
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
"/sonarr/" = {
|
||||
proxyPass = "http://127.0.0.1:8989";
|
||||
recommendedProxySettings = true;
|
||||
|
|
|
@ -19,6 +19,8 @@ working. Further configuration is required.</p>
|
|||
<a href="https://crime.kyouma.net/sonarr">crime.kyouma.net/sonarr</a><br/>
|
||||
Radarr
|
||||
<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
|
||||
<a href="https://crime.kyouma.net/prowlarr">crime.kyouma.net/prowlarr</a></p>
|
||||
|
||||
|
|
Loading…
Reference in a new issue