configuration.nix/hosts/layne/services/apps/radarr.nix

17 lines
365 B
Nix
Raw Normal View History

2024-10-22 20:29:05 +05:30
_: {
services = {
caddy.virtualHosts."radarr.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 127.0.0.1:7878
'';
};
radarr = {
enable = true;
dataDir = "/mnt/data/radarr";
user = "mediaserver";
group = "mediaserver";
2024-10-22 20:29:05 +05:30
};
};
systemd.services.radarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
}