Classic German baked pasta gratin: macaroni tossed with tender diced ham and peas in a nutmeg-scented egg-cream custard, baked under a bubbling crust of Gouda cheese.
Preheat oven to 190°C. Grease a baking dish with butter. Toss cooked pasta with diced ham and peas, then spread evenly in the dish.
Whisk eggs, cream, milk, nutmeg, salt, and black pepper in a bowl until smooth.
Pour the seasoned egg-cream custard evenly over the pasta. Top generously with grated Gouda cheese.
Bake in the oven for 25-30 minutes until the custard is set and the cheese is bubbly, deeply golden, and crusty. Rest 5 minutes before serving.