As Baluncore said, 6800m/s isn't the speed of the shockwave created in the atmosphere, it's the rate of propagation of the detonation wave within the actual dynamite itself. As for a nuclear weapon, there's not a "detonation speed" per se. Initially, high explosives go off around the nuclear core, and this detonation wave travels at a few km/s, similar to dynamite. This is an inward traveling detonation wave from all sides though, not an outward one, since the point of this is to compress the fissile core. After a few tens of microseconds or so, this detonation wave reaches the core and collapses it together, which takes another few tens of microseconds or so.
At this point, nothing has really happened other than a fairly sizeable conventional explosion, and perhaps a hundred microseconds or so has elapsed (so the shock has barely had a chance to form, really, and not much has left the immediate vicinity of the bomb). At this point, the fission reaction starts to occur, but it takes a few hundred nanoseconds for the exponential growth to become significant. Once it has taken off though, the vast majority of fission energy gets released in another 50 nanoseconds or so. This energy is primarily released as x-rays, not as any physical "explosion". In a pure fission bomb, these X-rays are then absorbed by the surrounding atmosphere (and/or ground, buildings, or anything else in the immediate vicinity of the bomb, and it's the massive heating and vaporization of these surrounding materials that actually causes the huge pressure spike that generates the shock wave.
In a more modern thermonuclear (fusion) bomb, there's one additional stage where this initial radiation energy is then used to compress a second stage, causing fusion, but this energy release all happens across a timescale of tens to hundreds of nanoseconds (and I would think the compression of the secondary is on timescales of tens of microseconds, similar to the primary, but I can't actually find confirmation of this, and I'm not sure if that's even publicly available information), and is followed by basically the same events afterwards (the fusion energy is dumped into the surrounding atmosphere and heats/vaporizes everything around the bomb, creating a shockwave)