Solar is very inefficient. But it is a sustainable resource. Actually in AZ, they offer incentives to persons to add solar panels to your home. You also get cash from the power company for spinning the meter backwards. The problem is not everyone lives in AZ where you have 99% sunny days. It also uses batteries that can go bad and become hazardous waste. Large solar plants tend to take up HUGE areas and until the efficiency gets above 25% for solar, we're gonna need a lot of them.
Nuclear is a cleaner short term alternative. At least it doesn't toss out tons of CO2 emissions. Lets not throw the baby out with the bathwater though. We can drill for oil and search for more of the limited resources to temporarily sustain us.