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

18 lines
366 B
Nix
Raw Normal View History

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