I worked for a government agency telling them how to survive radiation exposure in orbit while keeping things working.
We also did an extensive study on how satellites would respond to a nuclear detonation in proximity.

Here is a hint:  The Compton affect that creates an EMP pulse will not occur in space.
Instead the gamma rays will impact the satellite (having spread based on range) and the Compton affect will play out on the surface of the spacecraft.
A brief pulse will travel over the satellite structure.

Of course EVERYTHING on a satellite is already tied together to protect against static charge buildup.