01 -
Set your oven to 375°F (190°C) and grab a baking dish you love. Grease it lightly with butter or spray it with cooking spray.
02 -
Grab a big pan, set it on medium heat, and melt the butter. Toss in the onions, stirring every so often, and let them cook slowly for about 15-20 minutes. They'll turn soft and smell incredible.
03 -
While the onions are caramelizing, thinly slice your potatoes, about the width of a coin. Mix them in a bowl with the cream, thyme leaves, plus a little salt and pepper.
04 -
In your dish, lay down half the potato mix. Spread over half the sautéed onions. Repeat the layers with the rest of the potatoes and onions. Finally, sprinkle the shredded Gruyère evenly over the top.
05 -
Cover the dish with foil and bake it for 45 minutes. Remove the foil and let it go for another 15-20 minutes until the top is bubbly, golden, and starting to crisp up.