Start by washing the squash thoroughly and slicing it into thin rounds. I like keeping the slices uniform so they cook evenly. Remove the seeds from the center for a cleaner texture.
In a bowl, mix the heavy cream, milk, garlic, salt, pepper, and nutmeg. Stir everything well until fully combined. This mixture will soak into the squash layers beautifully.
Grease your baking dish with butter and begin layering the squash slices. Add a sprinkle of Gruyère between each layer for even flavor. Repeat until everything is used up.
Pour the cream mixture evenly over the layered squash. Finish by topping with remaining Gruyère and Parmesan cheese. This helps create that golden, crispy top.
Place the dish in a preheated oven at 375°F (190°C). Bake until the squash is tender and the top is bubbly and golden brown. Let it rest for a few minutes before serving.