nixos-homelab-media

A self-hosted media stack on top of nixos-homelab: Plex plus the usual *Arr suite for automated acquisition, wired together with API keys and download-client registrations handled automatically.

For the full list of module options, see docs/options.md.

Setup

{
  inputs = {
    ...
    homelab-media = {
      url = "github:nixos-homelab/media";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    ...
  };
}
{ inputs, ... }:
{
  imports = [
    inputs.homelab-media.nixosModules.sonarr
    inputs.homelab-media.nixosModules.radarr
  ];
  config = {
    homelab.sonarr.enable = true;
    homelab.radarr.enable = true;
  };
}

Modules

  • plex: Plex Media Server.
  • sonarr / radarr: TV and movie collection management.
  • prowlarr: indexer management, auto-registered with Sonarr/Radarr.
  • flood: web UI and download client for rtorrent, auto-registered with Sonarr/Radarr/Prowlarr.
  • rtorrent: the torrent daemon flood drives, optionally routed through homelab-networking's privacy-vpn.
  • sabnzbd: Usenet download client, auto-registered the same way as flood.