State tax filing

It was a permanent move. It was around 256 miles away but I was able to claim that mileage. So I wouldn't be able to claim the roof either? Or claim the house as a loss for a rental? Even when I tried to rent it out?