dotfiles/hosts/h001/mods/nixarr.nix
RingOfStorms (Joshua Bell) 69a54c7112 update nixarr
2025-07-21 16:37:43 -05:00

50 lines
1.3 KiB
Nix

{
...
}:
{
config = {
nixarr = {
enable = true;
mediaDir = "/drives/wd10/nixarr/media";
stateDir = "/var/lib/nixarr/state";
jellyfin.enable = true; # jellyfinnnnnn!
jellyseerr.enable = true; # request manager for media
sabnzbd.enable = true; # Usenet downloader
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";
};
};
};
};
};
}