Solar has its place in the power supply, but not as dedicated power plants. Urban solar panels is a perfectly viable option - Rooftops are already developed space that doesn't have many other practical applications, it can have a measurable impact in a homes power use (Try running an Aluminum Foundry off solar power, you won't get very far), and provides backup options in the event of limited scale natural disasters, when combined with battery technology. When you have critical grid failures like the Texas Blizzard, Solar and On-Site batteries can make a huge difference.
Their production is not particularly environmentally friendly, doubly so for the batteries, but its a far less troublesome impact when deployed at the household scale and not attempting to run any serious industry off them. Nuclear is the irrefutable king of baseload, and honestly even if fusion power becomes viable, nuclear will still have its use. All current fusion designs, if they hit commercial viability, still face a major issue regarding limited downscaling - All that power has to be consumed no matter what, and the floor for viable fusion output is pretty damned high - Nuclear can be exceedingly low, and is a far better option for smaller communities and isolated areas.