you can use "cfg.recordStim = True" if you are building a NetPyNE model. If you are doing a model in hoc, this has no sense. From your hoc, I see that you plan to do your network by yourself, not using NetPyNE (for example, NetPyNE does't import netstims from hoc). You can find the NEURON forum at:
https://www.neuron.yale.edu/phpbb/viewforum.php?f=32The forum is a big source of inspiration, if you have some time to spend there, it's time you'll gain (for your project, but also to see future possibilities). Best,