Melt 1 tbsp of the butter in a 26 cm / 10-inch skillet over medium heat. Cook the diced onion for 5 to 6 minutes, stirring, until soft and translucent but not browned, then let it cool for 5 minutes. Use the remaining butter to grease a 23 x 33 cm / 9 x 13-inch baking dish.
Scatter half the bread cubes in the dish and top with half the ham, half the onion, and 75 g of the Gruyere. Repeat with the remaining bread, ham, onion, and another 75 g Gruyere. Set the last 50 g Gruyere aside.
Whisk the eggs, milk, cream, Dijon, salt, pepper, and nutmeg in a 4-quart / 3.8 L bowl for about 1 minute, until no streaks of white remain. Pour the custard evenly over the bread, then press the cubes down with a spatula so every piece touches the liquid.
Sprinkle the reserved 50 g Gruyere over the top. Cover tightly with foil or plastic wrap and refrigerate for at least 60 minutes, or up to 12 hours overnight.
Heat the oven to 175 C / 350 F with the rack in the center while the strata finishes chilling. Uncover the dish and bake for 50 minutes, until the top is puffed and deep golden and the center reads 160 F / 71 C on an instant-read thermometer.
Rest the strata for 10 minutes so the custard firms up. Scatter the chives over the top and cut into 8 squares.