Nuclear power is entirely separate from nuclear weapons production
Acquisition of nuclear weapons is a political decision, not a technological one. The fissile material required for nuclear weapons is easier to produce independently of nuclear power reactors.