In a large saucepan over medium heat, melt the butter and add the potatoes. Combine half and half, nutmeg, garlic, salt, and pepper. Add to the potato and bring a mixture to a boil.
Remove from heat and transfer potatoes into a shallow 8x8 baking dish. Sprinkle with grated Gruyere cheese.
Cover the dish with foil and bake for 30 minutes.
Remove the foil and bake for 20 more minutes or until the potatoes are cooked through and the top is nice and brown.
Remove from the oven, cover with foil and let it rest for 15 minutes.
Recipe by SoFabFood at https://sofabfood.com/gratin-dauphinois-scalloped-potatoes/