Germany build the equivalent solar-capacity to the sum of every nuclear reactor it ever operated in the last 3 years.
Our _green_ minister of the economy and energy continued running the reactors even past their agreed run-time because the Ukraine war happened, but they simply reached end-of-life.
So we've replaced the small amount of nuclear we had with renewables already. Now you might ask why we don't build new ones to move away from fossil fuels faster. But why should you? It's impossible to argue that it would be economical given this chart:[1]
1: https://en.wikipedia.org/wiki/Cost_of_electricity_by_source#...