add unpackerr
This commit is contained in:
parent
ae7c8f2a6d
commit
f83c9abab7
3 changed files with 99 additions and 52 deletions
|
@ -77,7 +77,6 @@
|
|||
hostname = "unpackerr";
|
||||
ip = "192.168.0.116";
|
||||
mac = "06:8a:8e:3e:43:45";
|
||||
nix = false;
|
||||
}
|
||||
{
|
||||
hostname = "thelounge";
|
||||
|
|
34
nixos/hosts/hades/unpackerr/configuration.nix
Normal file
34
nixos/hosts/hades/unpackerr/configuration.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue