Light up mini map only?

I have a minimap camera that renders to a quad. However, my game is too dark, and I want to light up the minimap without affecting the main game. However, even if the light is only in the minimap layer, it affects both cameras.

Is there a way to make a light affect objects in one camera only, so that my minimap is nice and bright, while the main game has dark atmospheric lighting?

Here is my solution:

void Start()
{
    RenderPipelineManager.beginCameraRendering += OnBeginCameraRendering;
}
void OnDestroy()
{
    RenderPipelineManager.beginCameraRendering -= OnBeginCameraRendering;
}
void OnBeginCameraRendering(ScriptableRenderContext context, Camera camera)
{
    spotLight.SetActive(camera != mainCamera);
}