Grease an ovenproof dish with butter. Then alternately layer 1 slice of pumpkin, 1 slice of potato, 1 slice of bacon one behind the other. Mix the cream with the onions, parsley and nutmeg. Season with pepper and pour over the layered slices. Spread the pumpkin seeds and butter flakes on top.
Gratinate in a preheated oven at 220 ° C top / bottom heat for approx. 35 minutes covered with aluminum foil. Then finish baking for 10 minutes without foil. Serve hot.