Even later reply. If you setup nerves_firmware_ssh, you should be then able to SSH (by default on port 8989) directly into the Erlang console. From there, just type 'Elixir.IEx':start().
to start an IEx console.
In fact, nerves_firmware_ssh makes use of the Erlang SSH module mentioned in the link posted above.
Hope this helps