63 lines
1.6 KiB
Nix
63 lines
1.6 KiB
Nix
{
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
config = {
|
|
nixarr = {
|
|
enable = true;
|
|
mediaDir = "/drives/wd10/nixarr/media";
|
|
stateDir = "/var/lib/nixarr/state";
|
|
|
|
vpn = {
|
|
enable = true;
|
|
wgConf = config.age.secrets.us_chi_wg.path;
|
|
};
|
|
|
|
jellyfin.enable = true; # jellyfinnnnnn!
|
|
jellyfin.vpn.enable = true;
|
|
jellyseerr.enable = true; # request manager for media
|
|
jellyseerr.vpn.enable = true;
|
|
sabnzbd.enable = true; # Usenet downloader
|
|
transmission = {
|
|
enable = true; # Torrent downloader
|
|
vpn.enable = true;
|
|
peerPort = 51820;
|
|
};
|
|
prowlarr.enable = true; # Index manager
|
|
sonarr.enable = true; # TV
|
|
radarr.enable = true; # Movies
|
|
bazarr.enable = true; # subtitles for sonarr and radarr
|
|
lidarr.enable = false; # music
|
|
};
|
|
|
|
services.nginx = {
|
|
virtualHosts = {
|
|
"jellyfin.joshuabell.xyz" = {
|
|
locations."/" = {
|
|
proxyWebsockets = true;
|
|
proxyPass = "http://localhost:8096";
|
|
};
|
|
};
|
|
"media.joshuabell.xyz" = {
|
|
locations."/" = {
|
|
proxyWebsockets = true;
|
|
proxyPass = "http://localhost:5055";
|
|
};
|
|
};
|
|
"jellyfin.h001.local.joshuabell.xyz" = {
|
|
locations."/" = {
|
|
proxyWebsockets = true;
|
|
proxyPass = "http://localhost:8096";
|
|
};
|
|
};
|
|
"media.h001.local.joshuabell.xyz" = {
|
|
locations."/" = {
|
|
proxyWebsockets = true;
|
|
proxyPass = "http://localhost:5055";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|