Installing matrix-os: .envrc not sourced after reboot

After following the guide on
https://matrix-io.github.io/matrix-documentation/matrix-os/getting-started/installation/

I recognized, that starting matrix-os with node after a reboot did actually not work because the device id was not found.
I already had created ~/.envrc with the correct settings, but after the reboot, I had to run
source ~/.envrc
again to get the environment variables loaded.

So I just added the command to the end of ~/.bashrc , resulting in the environment variables being loaded at login via ssh.

I wonder, if ~/.bashrc gets invoked without the login, or do I need to put device id and secret somewhere else?