I believe nanotechnology may already be used for good and bad. My question is could a nano sized nuclear warhead be built?

What limits the size and complexity of a nano device (besides money and resources of course)?