Slice Potatoes: Thinly slice potatoes (⅛ to ¼ inch thick). Rinse in cold water and pat dry.
Make Cream Sauce:
Melt butter over medium-low heat.
Add diced onion and minced garlic, cook 3–4 minutes.
Stir in flour to make a roux; cook for 2 minutes.
Gradually whisk in milk and broth mixture.
Cook until thickened (~5 minutes), season with salt, pepper, and herbs.
Prepare Baking Dish:
Grease dish with butter, optionally rub with garlic.
Preheat oven to 350°F (175°C).
Layer Potatoes:
Add a thin layer of cream sauce.
Layer potatoes, season each layer, and pour sauce.
Repeat until all ingredients are used.
Bake:
Cover with foil and bake for 45 minutes.
Uncover and bake for an additional 35–45 minutes until golden and bubbling.
Check Doneness:
Potatoes should be tender; sauce thick but not dry.
Rest:
Let rest 20 minutes before serving.