That was a custom in The Netherlands as well in days gone by, and you still find traces of it in some of our proverbs. We also still have a sort of nod that’s used as a greeting, instead of saying “hi”. Not everybody uses it, though, I think it’s mostly men who do it.
Btw, speaking of nodding, did you know that Bulgarians nod when they mean “no” and shake their head when they mean “yes”? If they’re talking to a foreigner, though, they might switch to the opposite, so you can never be sure whether they mean yes or no, hahaha.