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

**URL:** <https://forums.balena.io/t/how-to-add-file-to-etc-modules-for-host-os/192313>\
**Category:** balenaOS\
**Created:** [September 23, 2020, 8:10am UTC](https://forums.balena.io/t/how-to-add-file-to-etc-modules-for-host-os/192313 "2020-09-23T08:10:07Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![xginn8](https://avatars.discourse-cdn.com/v4/letter/x/8baadc/32.png) [@xginn8](https://forums.balena.io/u/xginn8)\
**Post date:** [November 17, 2020, 10:11pm UTC](https://forums.balena.io/t/how-to-add-file-to-etc-modules-for-host-os/192313/13 "2020-11-17T22:11:48Z")

</div>

Hi there,

Unless for some reason that module cannot be built out-of-tree, you should actually be able to do all this from a regular service defined in your `docker-compose.yml`. Have a look at the following forum thread for more nuance regarding building wifi kernel modules: [How can I configure tp-link wifi adapter](https://forums.balena.io/t/how-can-i-configure-tp-link-wifi-adapter/65176/14)

Is that not working for you, or perhaps there’s something else blocking you from doing that?

---

_[View the full topic](https://forums.balena.io/t/how-to-add-file-to-etc-modules-for-host-os/192313)._
