Mix the flour with a pinch of salt in a bowl.
Melt the butter in a casserole and pour it and the water in the bowl of flour and mix it all together to a dough. Place the dough in the fridge for thirty minutes.
Cut the onion and the garlic clove in small pieces, and cook it together with the sauerkraut in a casserole for fifteen minutes. Pour away the water and let it cool down a few minutes.
Start the oven at 180 degrees Celsius.
Pour the smoked bacon, eggs, sour cream, grated cheese a pinch of salt and pepper in the casserole with the sauerkraut and mix it all well.
Take out the pie dough from the fridge and roll it out over a pie form so it cover the bottom and the edges.
Pour the filling on the pie bottom and place it in the middle of the oven for forty minutes.
Take out the pie and serve it directly.