A neighbor down the street proudly placed solar panels on his house. He spent $4,000 after government subsidies and whatever deductions he may have taken from his income tax. He is confident that this move will save him tons of money on electricity and will safeguard the planet from global warming Armageddon by reducing his carbon footprint from fossil fuels.
There is one fly in this perfect ointment—solar panels generate “tons of toxic waste” during the production process and during their disposal/replacement.
As mentioned here before, the output of solar panels decreases rapidly once installed, and they are effectively dead after 20 to 25 years. A number of companies offer "free" purchase and installation - but removal and disposal of non-functioning equipment is on you. Enjoy the smug feelings; they won't last long.