I've used Nim in the past, and while it's a nice language, D is much closer to perfection regarding my personal needs and tastes.
I've actually converted all my Nim scripts to D, because :1/ it doesn't force you to declare the types and functions before using them; 2/ it uses a standard curly-brace block syntax, which helps a lot when porting C++ or Node.js code to D.
