According to [1], around 2022 nuclear was shut down, coal/lignite increased, imports increased, and consumption decreased - if I interpret those charts correctly.
[1] https://www.cleanenergywire.org/factsheets/germanys-energy-c...
[1] https://www.cleanenergywire.org/factsheets/germanys-energy-c...
If you look at the wider trajectory from 2018 to 2025, coal consumption dropped a bit more than normal in 2020, and rebounded a bit in 2021, but the actual trajectory is clear.
Yes, electricity imports increased, mostly from places with clean grids (including France, though less during the summer months where France had drought related shutdowns). I should have mentioned the increase in imports though, that was an important factor.