Cook the pasta according to the instructions on the packet. At the end of the cooking time, add the frozen peas and cook briefly.
Mix the basil, garlic, cheese, nuts and lemon juice in a blender bowl. Then mix with a mixer. When the machine is running, slowly add the olive oil in a steady stream. Then season with salt and pepper and season to taste.
In a large bowl, mix the pesto, pasta and peas together. Season with salt, pepper and lemon juice.
Garnish the salad with chopped nuts and chopped herbs, if desired.