Under a new national plan, all new-build homes in the United Kingdom will be legally required to install solar panels on the roofs.