I would guess that nuclear power plants are one of the first pieces of infrastructure to be targeted in the event of a NATO-Russia nuclear war. The reasons why nuclear power plants are less likely to be attacked in a conventional war don't really apply in that case. And you wouldn't even need to waste a nuke on it; a conventional warhead would do the job just as well.
Solar, yeah, I suppose losing ~50% of your output capacity is not awesome. But better to be operating at 50% than to be destroyed completely.