Make a shortcrust pastry from flour, butter, salt, water and egg yolk. Let rest for 1 hour.
Cut the leek into fine rings and sauté in the hot oil for 10 minutes. Then stir in the bacon and remove the pan from the stove.
Mix eggs and cream and season with salt, pepper and nutmeg.
Use the shortcrust pastry to lay out a greased springform pan (26 cm in diameter) on the bottom and half the edge. First put the filling on the bottom, then sprinkle the egg milk and finally the Gouda on top.
Preheat the oven to 200 ° C and bake the leek and ham cake for 45 minutes.