Counties sign such peace treaties when they lose hard enough to start losing their territory proper, or they are forced to capitulate, are occupied. How would a nuclear state lose their territory proper? There were indeed various peace treaties in the past, but not a nuclear state losing their territory proper.