Linking outliner eyeball visibility with render visibility

You are right @Michael_Knubben , I misunderstood the question, sorry @poly2poly2 .
I also suggest using collections as @RobWu mentioned, so that you have less item to toggle on/off.

You can also use drivers to link disable in viewport/renders options. But you must add this driver to all your objects to make it work (Maybe there is an easy way to do that?).

For example, below setup shows that “Show in Renders” property is driven by “Show in Viewports”.

GIF

Note that you can’t add drive for “Hide in Viewport” icon due to an issue: https://developer.blender.org/T64537