infrastructure/nixos/hosts/hades/unpackerr/configuration.nix
Vivian 2c16870d66
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
nixfmt
2023-05-04 13:08:10 +02:00

30 lines
609 B
Nix

{ config, ... }:
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";
};
};
}