# RESIN\_HOST\_CONFIG\_\* env variables never get applied

**URL:** <https://forums.balena.io/t/resin-host-config-env-variables-never-get-applied/2505>\
**Category:** Product support\
**Created:** [February 4, 2018, 3:22pm UTC](https://forums.balena.io/t/resin-host-config-env-variables-never-get-applied/2505 "2018-02-04T15:22:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![julio](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/julio/32/776_2.png) [@julio](https://forums.balena.io/u/julio)\
**Post date:** [February 4, 2018, 3:22pm UTC](https://forums.balena.io/t/resin-host-config-env-variables-never-get-applied/2505/1 "2018-02-04T15:22:28Z")

</div>

Hi,

I tried to set my RPi’s config.txt boot file from the dashboard using the RESIN\_HOST\_CONFIG\_ prefix. But they never get applied.

I defined RESIN\_HOST\_CONFIG\_gpu\_mem\_{256,512,1024} in the Fleet Configuration Page, as a stated by the documentation, but nothing then. Even by restarting the RPi.

So I’m wondering what’s wrong and how/when is the supervisor supposed to be notified of these new host-config vars to apply them and supposedly reboot the device.

Regards,

---

<div class="post-metadata">

**Author:** ![agherzan](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@agherzan](https://forums.balena.io/u/agherzan)\
**Post date:** [February 4, 2018, 3:54pm UTC](https://forums.balena.io/t/resin-host-config-env-variables-never-get-applied/2505/4 "2018-02-04T15:54:21Z")

</div>

Hi Julio,

Did you set the value to 256 or prepend it to the variable? So the variable needs to be RESIN\_HOST\_CONFIG\_gpu\_mem and the value 256 for example.

Andrei

---

<div class="post-metadata">

**Author:** ![julio](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/julio/32/776_2.png) [@julio](https://forums.balena.io/u/julio)\
**Post date:** [February 5, 2018, 12:15am UTC](https://forums.balena.io/t/resin-host-config-env-variables-never-get-applied/2505/6 "2018-02-05T00:15:06Z")

</div>

I just figured out that it is only possible with images built through resin’s builder, not with a locally pushed image (command `resin local push`). The documentation should say it 😉

---

<div class="post-metadata">

**Author:** ![dt-rush](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dt-rush/32/1405_2.png) [@dt-rush](https://forums.balena.io/u/dt-rush)\
**Post date:** [October 22, 2018, 11:11am UTC](https://forums.balena.io/t/resin-host-config-env-variables-never-get-applied/2505/10 "2018-10-22T11:11:42Z")

</div>

The equivalent for ResinOS would be to modify the `/boot/config.txt` by mounting the boot partition of the `img` file
