Then research some more about how "well" it works for France. Germany actually exported quite a lot of energy to France before the transition from nuclear.
France has plenty of problems with nuclear power. The only conclusion is that nuclear power for France only makes sense - barely - because France wants to have nuclear weapons.
You should be more specifix. France is the biggest electricuty exporter of the last decades. They also heat with electricity, not gas. Their Co2 emissions are a fraction of German emissions. What‘s so great about German electricity?
Then why is France massively reducing its reliance on nuclear over the coming two or three decades?