Someone else can figure out the math, but I'm pretty sure the energy from all of the nukes that have been detonated, especially if you only count the open-air ones, is minuscule compared to what the sun gives off. That would mask any possible detection. I wouldn't be surprised if just the solar radiation that the earth reflects is enough to mask the nuclear blasts, unless you're viewing them from right inside the solar system.