Heat the oven to 220 C / 425 F with a rack in the middle. Line a 33 x 46 cm / 13 x 18 inch sheet pan with parchment. Spread the 30 g softened butter over one side of each bread slice, lay the slices buttered side up on the pan, and toast for 5 minutes until pale gold.
While the bread toasts, melt 30 g butter in a 2-quart / 1.9 L saucepan over medium heat. Whisk in the flour and cook for 1 minute, until it smells faintly nutty but hasn't browned. Pour in the warm milk in three additions, whisking smooth after each.
Simmer over medium-low heat for 5 to 6 minutes, whisking often, until the sauce coats the back of a spoon and holds a clean line when you drag a finger through it. If it still looks thin, keep cooking, because a loose sauce slides off the bread and scorches on the pan. Off the heat, stir in the nutmeg, salt, white pepper, and 40 g Gruyere until melted.
Flip 4 of the toasted slices so the toasted side faces down on the pan. Spread each with 1 1/2 tsp Dijon, then layer on 20 g Gruyere and 2 slices of ham. Top with the remaining toasted slices, toasted side up, and press down firmly.
Spoon about 1/3 cup / 80 ml bechamel over each top slice and spread it to the edges. Scatter the remaining 80 g Gruyere over the sauce. Bake for 12 minutes, until the bechamel bubbles at the edges and the cheese has brown spots.
When the sandwiches have 4 minutes left, melt 15 g butter in a 30 cm / 12-inch nonstick skillet over medium-low heat. Crack in the eggs, season with pepper, and cook for 3 minutes until the whites are set and the yolks still jiggle.
Slide an egg onto each sandwich, scatter with chives, and serve within 5 minutes with any extra bechamel on the side.