How to add file to /etc/modules for HOST OS

Hi there. Another user has documented their method to doing this in the following forum thread: How to build custom kernel modules. Here is also an example project that may be useful: https://github.com/balena-os/kernel-module-build

Hopefully these can be useful to you