While pine nuts are most often called for in basil pesto, Chowhounds use a variety of nuts and herbs in pestos.
Hounds are split in preferring pine nuts or walnuts in their basil pesto, though a few use almonds. ZagChef uses roasted macadamias (he adds only half the amount of nuts called for), and TroyTempest has enjoyed it with pistachios. rozz01 makes a pesto of Italian parsley, cilantro, and cashews that her guests love, and hotoynoodle likes walnuts in parsley pesto.
Pesto freezes well, and is handy portioned in small containers or frozen in an ice cube tray, with the frozen cubes then stored in a freezer bag. Hounds recommend brushing or spraying the ice cube tray with oil before filling to help with release of the frozen pesto.
Board Link: pesto pine nuts or walnuts?