Melt butter in a small skillet or sauce pan over medium heat.
1 tbsp butter
Sauté the onions in the butter until translucent.
1/2 medium yellow onion
Add the garlic, and sauté until aromatic.
1 clove garlic
Add the flour. Stir to combine. Cook for a few minutes to make a light roux.
1 tbsp all purpose flour
Add the chicken stock and deglaze the pan.
1/2 cup chicken stock
Add the cream, and stir to incorporate. Reduce the heat to a fast simmer.
1 cup heavy cream
Add the salt, pepper, and thyme.
1/4 tsp black pepper, 1/2 tsp kosher salt, 1 tsp thyme leaves
Allow the sauce to reduce while stirring frequently until thick, but not too thick. Add a splash of stock to thin it back out if necessary.
In a separate skillet, add a layer of potato slices.
1 Russet potato
Add half of the sauce and onion mixture on top of the potato slices.
Add half of the cheddar and parmesan cheese.
1 cup cheddar cheese, 1/4 cup Parmesan cheese
Add another layer of potatoes.
Add the remaining sauce, onions, and cheese.
Pre-heat oven to 400℉. Cover with foil and bake for 30 minutes.
Remove from the hot oven and rest for a few minutes. Garnish with green onions, and serve hot.
1 tbsp green onions