Retirement tax questions

I'm am also trying to determine if deposits or closing costs are the only qualified expenses. We used IRA money to build a retaining call and install a fence and I am trying to determine if those expenses are also valid homebuyer costs