Having done both a couple of times I'd now always go for location. A nice house in a bad location can be really isolating as you literally just spend time travelling away from your house to do things or staying in. You have no community or connection to that area.
For me home I want to feel as happy and comfortable leaving my house as I do being in it. Putting down roots for me is broader than just my house, they spread out to the wider area.