If you look closer at the hole, the inner rim of the hole will have toothmarks which are at an angle to the hole (if it has been made by a dormouse). The toothmarks are parallel with rough marks on the nut surface if a wood mouse made the hole. The bank vole leaves parallel grooves with no rough marks.