A vivid imagination can do wonders for your state of mind.
I have a lot of affection for my hometown.
That said, I don't want to stay here for the rest of my life. And as much as I enjoyed being in the suburbs in college, I never really met anyone.
But more importantly, I'm very good at entertaining myself. I see no reason to define myself by what I do. If I have to take a job that isn't exactly what I'm looking for...I'll manage. I've always been able to generate interest simply by doing, by learning. So if I do end up in a cubicle, I'll just put a few pictures on the wall and resolve to work the situation into the next Great American Novel.
The environment, culture, feel of a place: those things have always had the greatest effect on my mood. If I can't go out, get some sunshine, meet my friends at the great little shop on the corner...I stay home. And the inside of any place gets the same stale feeling when you haven't left.
Whatever I end up doing, I'd better be somewhere I can live.