01 - Fill a large pot with water, season generously with salt, and bring to a rolling boil. Add pasta and cook until al dente per package directions. Reserve 1 cup of the pasta cooking liquid, then drain and set pasta aside.
02 - In a large skillet over medium heat, melt 1 tablespoon olive oil with the butter. Add leeks and a pinch of salt. Cook slowly, stirring often, for 10 to 12 minutes until leeks become deeply golden and caramelized. Transfer to a plate and keep warm.
03 - In the same skillet, add the remaining 1 tablespoon olive oil. Increase heat to medium-high. Add mushrooms and cook, stirring infrequently, until well browned and their moisture has evaporated, about 7 to 8 minutes.
04 - Add minced garlic to the skillet with mushrooms and cook for 1 minute, stirring, until fragrant. Return caramelized leeks to the pan and mix thoroughly.
05 - Reduce heat to medium. Pour in heavy cream and half the reserved pasta water. Stir well to combine, and simmer for 2 to 3 minutes until slightly thickened.
06 - Add the drained pasta to the pan. Gradually sprinkle in Gruyère cheese, stirring gently until the cheese has melted and the sauce evenly coats the pasta. Add more pasta water as needed for a creamy consistency.
07 - Season with freshly ground black pepper and nutmeg if desired. Taste the dish and adjust salt as needed.
08 - Plate the pasta immediately and garnish with chopped fresh parsley.