{ ... }:
{
  # Blank default Seerr branding assets (read-only store otherwise).
  nixpkgs.overlays = [
    (final: prev: {
      seerr = prev.seerr.overrideAttrs (oldAttrs: {
        postInstall =
          (oldAttrs.postInstall or "")
          + ''
            find "$out/share/public" -maxdepth 1 -type f \( -name 'logo_full.svg' -o -name 'logo_stacked.svg' \) \
              -exec truncate -s 0 {} \;
          '';
      });
    })
  ];

  # "Seerr" request management. For Jellyfin, Jellyseerr is the right choice.
  # UI: http://<host>:5055
  services.seerr.enable = true;

  users.groups.jellyseerr = { };
  users.users.jellyseerr = {
    isSystemUser = true;
    group = "jellyseerr";
  };

  networking.firewall.allowedTCPPorts = [ 5055 ];
}

