My sources say: nuclear power 20-33 months, coal power 33 months, peat power 26-27 months, gas power 21-27 months, wind power 7 months and photovoltaic power 60-95 months.
https://inis.iaea.org/records/kgzhn-ark54
Which means, among other things, that solar is already net negative before nuclear is built and starts to produce.
And also, solar panels are rated to 25 years 80%, which means they retain 80% of initial production after 25 years, not "explode after 20 years and you have to replace them".
But even better: let's go wind and beat nuclear and solar by a crazy margin.