I don't think a massive expansion of nuclear power is the only way. Sure it might play a role but why would it be the only way. Look at this study for example.
https://www.nrel.gov/analysis/100-percent-clean-electricity-...
https://www.nrel.gov/analysis/100-percent-clean-electricity-...