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

17 lines
365 B
Nix
Raw Normal View History

2024-11-17 14:06:41 +05:30
_: {
services = {
caddy.virtualHosts."sonarr.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 127.0.0.1:8989
'';
};
sonarr = {
enable = true;
dataDir = "/mnt/data/sonarr";
user = "mediaserver";
group = "mediaserver";
};
};
2024-11-01 19:20:53 +05:30
systemd.services.sanarr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
}