I think you will need a 32 bit version of GCC (or the C compiler you use).
Then you will need to pass flags to nim to use that compiler.
It might be easier to get a windows 32 vm and install nim there and compile there.
3) I configured C:Nimconfignim.cfg like this (I placed it at the end of the file):
@if windows:
@if i386:
gcc.path = r"C:/mingw32/bin"
@elif amd64:
gcc.path = r"C:/mingw64/bin"
@end
@end
Ready! To obtain a 32-bit executable, just compile it with --cpu:i386.