layne: enable radarr

This commit is contained in:
Adithya 2024-10-22 20:29:05 +05:30
parent 10fe08eb7e
commit 2fccc35829
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 16 additions and 0 deletions

View file

@ -2,6 +2,7 @@ _: {
imports = [
./jellyfin.nix
./transmission.nix
./radarr.nix
../../../shared/prometheus-exporters.nix
../../../shared/promtail.nix
];

View file

@ -0,0 +1,14 @@
_: {
services = {
caddy.virtualHosts."radarr.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 127.0.0.1:7878
'';
};
radarr = {
enable = true;
dataDir = "/mnt/data/radarr";
};
};
systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
}

View file

@ -78,6 +78,7 @@ in
"prometheus.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"transmission.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
"jellyfin.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
"radarr.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
"jellyfin.local.adtya.xyz" = "192.168.1.14";
};
};