Persistent env variables

Hey Guys.

Anybody knows how I can make an environment variable persistent with home assistant os? I basically want to do:

export PULSE_SERVER=server-hostname-or-ip

Currently i would need to login to home assistant after every restart of homeassistant os and enter this. Of course I could hack around a ssh based solution to automate this, but hack this usually is configurable via .bashrc or what not, but homeassistant os is so damn immutable that I have no clue where I need to add my change to make this work.

1 Like

Did you ever find an answer to this? I’m facing the same issue.

Nope not yet. It only works until you close the terminal or reboot I think. These are the problems you get with immutable filesystems. Safe against hacking XD in all kinda directions I guess…