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

Hello. How can i add wifi dongle driver for HOST OS to /etc/modules from service ? Or any other way ? Thank you.

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