Nuthatches like sunflower seeds as well as peanuts.
Our neighbour works wonders with bits of old iron and he made this very innovative bird feeder which all the birds love and the cat hasn’t found out how to get onto yet. We get visits from a pair of nuthatches, they usually pick up a peanut and fly off to eat it but this one stayed long enough to be photographed.
I have also seen nuthatches eating melon seeds but they prefer peanuts. The hens like melon seeds too.