Toast the nuts: Add the raw nuts to a small skillet. Place skillet over medium-low heat and toast, stirring frequently, until fragrant and slightly golden around the edges, about 3-4 minutes. Remove pan from heat and transfer the toasted nuts to the bowl of a food processor.
Pulse ingredients: To the bowl of the food processor, add the tomatoes (not the oil), garlic, cheese, red peppers, basil, salt, pepper and red pepper flakes. Pulse until finely chopped and uniform in size, stopping to scrape down the sides of the bowl as necessary.
Add oil: Add ¼ cup of oil from the jar of sun-dried tomatoes. Pulse until ingredients are minced. Scrape down the sides of the bowl. With the processor running, stream in enough olive oil until the mixture has a slightly smooth, but still chunky, pesto-like consistency. Taste and adjust pesto for seasoning with salt and pepper.
Nutritional Information is a rough estimate. Exact values will depend upon brands and measurements used.