2024-10-27 20:50:37 +05:30
|
|
|
_:
|
|
|
|
let
|
|
|
|
inherit (import ../../../shared/caddy-helpers.nix) tlsDNSChallenge;
|
|
|
|
in
|
|
|
|
{
|
2024-10-23 23:59:14 +05:30
|
|
|
services = {
|
|
|
|
caddy.virtualHosts."jackett.labs.adtya.xyz" = {
|
|
|
|
extraConfig = ''
|
2024-10-27 20:50:37 +05:30
|
|
|
${tlsDNSChallenge}
|
2024-10-23 23:59:14 +05:30
|
|
|
reverse_proxy 127.0.0.1:9117
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
jackett = {
|
|
|
|
enable = true;
|
|
|
|
user = "mediaserver";
|
|
|
|
group = "mediaserver";
|
|
|
|
dataDir = "/mnt/data/jackett";
|
|
|
|
port = 9117;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
|
|
|
}
|