I think these EMP predictions are way way overblown. I put EMP in the same class as the Y2K threat. Yes I think it’s possible to achieve an EMP type effect with a nuke but I doubt there would be any significant damage. The known results of tests seem to indicate that it would take a bomb with a huge yield and a precisely placed detonation and even then the effects would be very limited.
IC circuits, very low voltage computer circuits are much more vulnerable than manual switching circuits in the past.
IIRC an airburst H-bomb over the Pacific took out the grid in Hawaii, radios in Australia .