For years, homeowners have turned to gas-powered generators to get through the occasional blackout. But in recent years, more people are turning to solar power to offer them a slice of sustainability.