add unpackerr

This commit is contained in:
Vivian 2022-10-15 15:38:47 +02:00
parent ae7c8f2a6d
commit f83c9abab7
3 changed files with 99 additions and 52 deletions

View file

@ -0,0 +1,34 @@
{ config, pkgs, ... }:
let vs = config.vault-secrets.secrets;
in
{
networking.interfaces.eth0.useDHCP = true;
fileSystems."/mnt/storage" = {
device = "storage:/mnt/storage";
fsType = "nfs";
};
system.stateVersion = "21.11";
vault-secrets.secrets.unpackerr = { };
services.unpackerr = {
enable = true;
debug = true;
environmentFile = "${vs.unpackerr}/environment";
sonarr = {
url = "http://sonarr2:8989/";
paths = "/mnt/storage/torrents/r/TV";
};
radarr = {
url = "http://radarr2:7878/";
paths = "/mnt/storage/torrents/r/Movie";
};
lidarr = {
url = "http://lidarr:8686/";
paths = "/mnt/storage/torrents/r/Music";
};
};
}