General Motors' largest manufacturing facility in North America will soon be powered entirely by the sun, the company announced today.

The Spring Hill, Tennessee facility will use 100% solar power by 2022, according to the company. The power will be supplied by the Tennessee Valley Authority, which will supply up to 100 megawatts of electricity to the plant per year.

That's enough to power power18,000 homes, which is probably the equivalent of most of Spring Hill, which has a population of 40,000 people.

The power will come from a solar farm in Lowndes County, Mississippi, which is currently under construction by Origis Energy.

The solar supply will be a big component in GM's plan to go all-renewable by 2030. In fact, when this project is complete, half of the energy GM uses will be renewable.

And according to the Tennessee Valley Authority, it's good news for regular customers, too.

"We're excited that GM chose Green Invest because TVA's ability to meet the renewable energy needs of our customers will drive vital investment and jobs across our seven-state region," said Jeff Lyash, TVA president and CEO. "Moving forward, large-scale solar installations provide the best value for our customers to help meet their sustainability goals which makes Green Invest a win for everyone."

GM builds the GMC Acadia, the Cadillac XT5, and the XT6, as well as several engines at the 2,100 acre Spring Hill Assembly plant.