16 lines
368 B
Nix
16 lines
368 B
Nix
_: {
|
|
services = {
|
|
caddy.virtualHosts."readarr.labs.adtya.xyz" = {
|
|
extraConfig = ''
|
|
reverse_proxy 127.0.0.1:8787
|
|
'';
|
|
};
|
|
readarr = {
|
|
enable = true;
|
|
dataDir = "/mnt/data/readarr";
|
|
user = "mediaserver";
|
|
group = "mediaserver";
|
|
};
|
|
};
|
|
systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
|
}
|