For the gingerbread, knead all the ingredients into a dough. Let the dough rest for one hour. Roll out on a floured work surface and cut out with different cookie shapes.
Brush the cookies with the beaten egg and decorate each with half a nut. Bake at 180 °C.