Hang one’s hat (somewhere)

To live or take up residence somewhere.

I want to move and hang my hat in a small town somewhere.