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, ... }: {
|
{ 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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue