Peel, quarter and slice the onions. Wash the chives and cut into fine rolls.
Heat clarified butter in a pan. Fry the onions and diced bacon in it until golden brown, remove from the pan, set aside and turn off the stove. Leave the fat in the pan.
Mix the flour, eggs, oil, salt and water as required with the mixer (dough hook) until a smooth, tough dough is formed. It shouldn`t be too thin.
Bring about 2 liters of salted water to a boil in a saucepan. Fill a spaetzle press with batter and add it to the boiling water. After each filling, remove the spaetzle floating above with a slotted spoon, place in the pan and top with one part each of bacon and onion mixture, cheese and chives. Finally, mix everything together and leave it covered at a low temperature until the cheese has melted completely.