1041 expenses for inherited home/ IRC 67(g)

What expenses are listable on immediate sale of inherited home( took 6 months to sell and close). 

i know certain closing items such as sales comm, property taxes at closing, plus existing 6 months prop taxes paid. 

what about: 

1) mortgage payments for 6 months ?

2) gardner, pool man,

utilities paid?

3) insurance ?

4) repairs?

5) regular maintenance ?

6) home improvements( new flooring, paint,)

?

any of those not allowed?

did IRC 67(g) get repealed? How does that effect deductions for 2024 final?