I think I agree with you broadly, but to make the counter argument:
A big part of the reason why nuclear power isn’t cost-effective nowadays is because those costs have been at least partially internalized. The US federal government has stopped producing cheap nuclear fuel by disassembling nuclear weapons. Nuclear plants need to pay for the cost of storing their spent fuel on site indefinitely. Plant operators need to pay into a federal disaster insurance pool.
- Nuclear waste has non-zero cost that aren’t factored in.
- Nuclear risks are externalized, not factored in.
- Nuclear power is heavily subsidized.
- Solar power industry in Germany on particular was destroyed for ideological reasons.
- Solar has much more capacity than nuclear for many years now: https://www.smard.de/page/home/topic-article/211972/212382/e...