Preheat oven to 375 degrees F. Line a baking sheet with parchment paper (optional for easy clean up). Whole roast the eggplant, tomatoes, garlic, and onion on the sheet pan for 45 minutes, or until everything is nice and soft. Remove from oven and let cool until ready to handle with your hands.
Peel the tomatoes, onion, and eggplant (you may need help from a knife for the eggplant), and remove the garlic cloves from their skin. Place in a blender and blend until smooth. Add the olive oil, dried basil, thyme, salt, pepper, and walnuts. Puree until smooth.
Return the pasta to the pan and add as much of the pasta sauce as you'd like to your pasta. You will probably have more sauce than you need. Stir to combine and add pasta water as needed to fully combine the sauce with the pasta.
To serve, top with fresh basil, chopped walnuts, parmesan cheese (optional), and a drizzle of olive oil. Enjoy!