Coarsely chop the walnuts, roast them in a pan without fat and let them cool down. Bring 3-4 l salt water (1 teaspoon salt per litre) to the boil. Peel garlic and chop coarsely. Wash herbs, shake dry. Pluck off leaves or needles. Finely slice the cheese.
Add the noodles to the boiling salted water and cook according to the instructions on the packet. Puree nuts, except 2 tbsp., garlic, herbs, 2⁄3 puree cheese and lemon juice, slowly adding oil. Season with salt and pepper. Drain the pasta and mix with pesto. Sprinkle with rest of nuts and cheese.