The nuts are fine, the bigger issue is that birdseed is worthless for any kind of rodent. Its all just fats and oils. Recommended rodent block diets or sometimes you can get away with dog food (but you can have other problems like protein deficiency and allergies). A lot of people feed Suebees diet to their rats (mostly pet owners, but look it up on google its got a lot of good things in it).
Nuts are a good source of fat and protein, I would offer them as a treat, especially with the shells on (peanuts for example) its like an enrichment toy as well as a treat.