I now - as I was typing the question as a matter of fact - noticed this: <https://github.com/nim-lang/RFCs/issues/388>
and its corresponding: <https://github.com/nim-lang/Nim/commit/c2b20516d33520b1d339b447ece32ade8625fefc> So, I guess the answer is I'm already doing it pretty much like it should be done...
