I think peanuts are ok. I read in 'What to expect when you're expecting' that it's actually ok, unless you yourself have an allergy which could affect your bub. which you wouldnt be eating them anyway in the first place.
I've been eating all sorts of nuts. My naturopath recommended them as snacks between meals, as they are healthy and full of protein, esp. almonds which good for brain development.