for me, it was just eating rich flavorful foods that also happen to be healthy
what i did was cook for myself so i can reduce vegetable oils, salts, artificial flavorings etc, then cook things like fresh tomato sauces with fresh basil/oregano, fresh fish cooked slowly in plum sauce, chana masala curries with low sodium and delicious spices etc etc
once you get used to healthy, satisfying and flavorful "good" food, carbs, salt, oil and junk food cravings faded away and buying snacks after that was just not satisfying at all...
n=1 and all that, but that was my experience fwiw