Preheat the oven to 200 degrees Celsius (392 degrees Fahrenheit).
Set the pasta to boil. It should cook for about 10 minutes, so it is al dente.
Start frying the bacon in a pan.
Slice leeks and finely chop onions and garlic, add all three to the pan and fry with the bacon until it is crispy.
Dice peppers, tomatoes, and sun-dried tomatoes.
Put bacon, leeks, onions, garlic, peppers, tomatoes, and sun-dried tomatoes in an ovenproof dish.
Drain the pasta and add it to the dish.
Mix all the sauce ingredients together and pour it into the dish, mix everything well together.
Top with grated cheese and halved cherry tomatoes.
Bake for 10-15 minutes in the oven until the cheese is melted. Serve.