There is a nice housing available for the NanoPi M1 at friendlyarm.
To fix the NanoPi into the housing you need M3x10mm spacers and 4 screws M3x6mm and 4 screws M3x10mm. If you do not have spacers you can print it with a 3D printer. The .stl file is here. Or you can buy them here.