Preheat the oven to 200 degrees Celsius (392 degrees Fahrenheit).
Set the pasta to cook. It should take about 10 minutes to be al dente.
Set the bacon to fry in a pan.
Slice leeks and finely chop onions and garlic, add all three to the pan and fry with the bacon until crispy.
Cut bell peppers, tomatoes, and sun-dried tomatoes into cubes.
Put bacon, leeks, onions, garlic, bell 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 into the dish, mix everything well.
Top with grated cheese and halved cherry tomatoes.
Bake for 10-15 minutes in the oven until the cheese is melted. Serve