Preheat your oven to 180 degrees Celsius.
Meanwhile, add your potatoes, onions, peppers and cheese to your mixing bowl and toss around.
In a separate bowl, whisk your eggs and add the oil and yoghurt and mix until smooth.
Add to your potatoes and vegetables and stir it all together.
Now add your herbs, spices and seasoning and mix them in.
Finally, add your flour and baking powder and mix well until the flour mixture has formed a thick paste, coating your potatoes and vegetables.
Spoon the potato mixture into your ovenproof dish and spread it around evenly.
Now sprinkle your sesame seeds and nigella seeds over the top of the mixture.
Place in the centre of your oven and bake for 45-50 minutes until golden brown on top.
Once cooked, remove your potato cake and leave to cool until it reaches room temperature.
Slice it up into approximately 16 square pieces and serve.