If you want a static binary, you will need to rebuild a static version of libcurl (so not a .so) and patch the libcurl.nim file to statically link against it.
According to CURL docs <https://curl.se/docs/install.html> you need to add an option to the configure steps : ./configure --disable-shared make test make install