As somebody that did a DIY install on my roof, I would strongly suggest the pergola. It is closer to the ground so easier to install and the maintenance is so much easier. After install you need to worry about keeping the panels clean, debris and critters under the panels, failed microinverters...