Electronic components can be swapped out. The nuclear material is what really matters.
The ability to fire the weapon matters too. You need a delivery mechanism.