Preheat the Oven: Heat the oven to 400°F (200°C) and position a rack in the center.
Roast the Squash: Add the sliced squash to a 9 × 13-inch (23 × 33 cm) baking dish. Drizzle with 1 tablespoon olive oil and sprinkle with ½ teaspoon salt. Toss to coat. Roast for 10 minutes.
2½ pounds delicata , 2 tablespoons extra-virgin olive oil, ½ teaspoon kosher salt
Cook the Leeks and Herbs: While the squash roasts, melt the butter in a large skillet over medium heat with the remaining 1 tablespoon olive oil. Add the sliced leeks and cook until tender, about 8 minutes, stirring occasionally. Stir in the garlic, sage, and thyme and cook until fragrant, 1 minute.
4 tablespoons salted butter, 2 large leeks, 4 cloves garlic , 1 tablespoon fresh sage, 1 teaspoon fresh thyme leaves
Build the Cheese Sauce: Add the Dijon mustard, nutmeg, and 1 teaspoon Knorr chicken bouillon to the sautéed leeks and herbs. Give everything a quick stir to combine, then pour in the heavy cream. Heat gently, stirring occasionally, until the cream begins to steam, about 5 minutes. Reduce the heat to low and add the Gruyère and Parmesan. Stir gently until the cheeses are fully melted and the sauce is smooth and creamy, about 5 minutes.
1 teaspoon Knorr granulated chicken bouillon, 2 cups heavy cream, 2 teaspoons Dijon mustard, ¼ teaspoon ground nutmeg, 1½ cups Gruyère cheese, 1 cup Parmesan cheese
Combine and Finish Baking: Remove the squash from the oven and pour the cheese sauce evenly over the top. Return to the oven and bake for 15 to 20 minutes, until the sauce has thickened and the squash is tender but still holds its shape. Begin checking at 15 minutes. The squash should offer just a little resistance when pierced with a fork, rather than becoming overly soft or mushy.
Rest and Serve: Allow the gratin to rest for 5 minutes before serving so the sauce settles and clings to the squash.