The two above plus Kalle probably contain the best advice so far.
In addition to all that, to reduce temptation, if there is anything you like to eat that he doesn’t like, consider buying or preparing more of that. For example, if you like or can at least tolerate tomato sauce and he hates tomato sauce, consider drowning all your stuff in tomato sauce. Does he hate mushrooms and you don’t? Maybe mix mushrooms into as many of your dishes as you can stand. Same thing with garlic. Almost makes me laugh, thinking back to when I lived in a rooming house and I had a floormate who complained about my food.