Nostalgia for a city is more about nostalgia for the beautiful years accumulated there.
Nostalgia for a person is more about the feelings of nostalgia that are poured into that person.
I'm trying to quit some habits, but I haven't found a replacement for them yet.