There will be a requirement for all new-build homes to be fitted with solar panels, details will be in The Future Homes Plan. The plan is yet to be completed and published by the government, to come into force 2027
Government web portal