Terrible idea, especially if you are running a server. Not all players want to start over. If you want to, you can by yourself, don't force such stupidity to other players, it must be optional.
Or have it like Eco game did (you had a meteor impact, that you had to deal with) - have a possibility to build an anti nuclear missile defense system, that can shoot the nuke down from the sky, that's very difficult and hard to craft, but doable even if you play solo with 24 minute days. And have a scripted event happen showing that your defense system activates and blasts the nuke in the sky and show you credits screen. It would create nuclear fallout and make the game world harsher for a while, but not destroy it and you could still survive in such a world until it slowly settles down.