A lot of people assume America's cyberdefenses are state-of-the-art, and they're not. I mean, we've got good people, but we're behind the curve. Iran and North Korea both have formidable cyberwarfare capabilities, but they have historically kept a very low profile. And you're right; one of the reasons no enemy nation has triggered the "kill switch" vulnerabilities yet is they don't want to tip their hand to their capabilities or end up on the wrong end of a nuclear retaliatory strike. At some point, though, that will become a viable option, and we will have absolutely no warning that it's coming. The government won't see it coming; we won't see it coming... it will just happen.
I can't emphasize this enough to everyone: You will have zero prep time if someone pulls that trigger. Your power will go out and then the attack is over with. How long the power stays out depends highly on the scope of the attack. If the focus was software, it might be back up in days or weeks. But if they target hardware, like overloading substation transformers, for instance, the power could be out for years. We don't keep a lot of spares of that kind of equipment on hand, and most of it is built - anyone? anyone? - in CHINA.
With a nuclear war, we'd probably get a few minutes of warning. Your warning on a cyberattack against US utility infrastructure can be measured in milliseconds. Most of us on here are fairly prepared. But I want you to ask yourself how you would survive without power for a full year or more. Heat? Cold? Hygiene? Food? Unless you have solar, these are things you need to plan for in advance.