a simple hexegon texture in cycles

i wanted to make a hexagon mesh, and i decided to do it in cycles material; and surprisingly i am struggling with it, i thought of making a checker texture and rotate it and combine it with multiple different angle, but it doesn’t work…
so i’m stuck; does this say something about me? or blender?

The mapping node will allow you to rotate the texture.

Alessandro zomparelli has written a beautiful and elegant script to do this called dualmesh.py. A google search should lead you to it and his documentation.