For context[0], in 2013 (the year before Russia seized Crimea), Germany generated about 100 TWh of electricity from nuclear energy, and last year it was about 70 TWh. In that time, renewables have nearly doubled, from about 150 TWh to 240 TWh.
Of course, annualised figures don't account for the fact that there is less solar potential (and more heating demand) in the winter, but if the cost of importing non-Russian gas is cheaper than the cost of replacing ageing nuclear power stations or extending their design life, then the only concern is how much you are slowing down the race to net zero.
[0] https://www.cleanenergywire.org/sites/default/files/styles/g...