Nearby lightning strikes and nuke air bursts have a lot of HF energy because they are basically pulse events. CME triggered geomagnetic storms don't and only effectively couple into long wires. Unfortunately, given a long enough wire e.g. the electricity or phone network, the induced voltage can be high enough to jump ordinary isolation switches or circuit breakers.
See the E3 pulse at:
https://en.wikipedia.org/wiki/Nuclear_electromagnetic_pulseTotally disconnected IT equipment and other electronics isn't going to be bothered by an E3 pulse if its well separated from any nearby wiring. If you were to fit whole house surge protection behind an industrial high voltage contactor wired to disconnect the supply and ground L and N on the load side when it drops out, controlled by a load side voltage sensing circuit (obviously with a momentary switch to the supply side to re-engage it) there is a very good chance that connected electronics with local surge protection on all wiring will survive an E3 event. Incoming phone lines etc. need surge protection and also should run through a high voltage relay that grounds the house side if power is lost. Incoming metal utility pipes need long plastic isolation breaks and the whole house needs heavy duty equipotential bonding/grounding.
The advice for sailors in lightning prone areas is to keep spares for critical electronics in a sealed metal tin - that's just about your only chance of having any working electronics after a direct or very close lightning strike.
As electronic techs/engineers, we can do rather better, because we know the importance of full length bare metal to metal contact on all joints for a HF Faraday cage, so could easily prep for the possibility of a post-nuclear EMP 'bugout' by stockpiling 12V HF comms equipment, solar panels,charge controllers, GPSes, together with a spare alternator and any critical electronic modules for the bugout vehicle etc. all foil wrapped over an insulating wrapper, bagged with desiccant and packed in plastic tubs in a metal 50 gallon drum sealed with conductive adhesive copper tape. New unfilled dry charged Lead acid batteries have a shelf life up to 5 years, and if stored cool and dry can be recovered by a forming charge 20 years later, so a couple of those on the shelf + acid to fill them to support the comms gear and bugout vehicle would be a good idea. The bugout vehicle should ideally be a well maintained old diesel 4WD with absolutely no engine electronics. A carburettor petrol engine with traditional Kettering ignition comes a close second. Of course you need somewhere sensible to bug out to, and if you live in a dense urban area, you probably wont get out of town without being mobbed.