Using erlang on nerves

(Re-posting from Erlang forum)
I am planning to start a new IoT project that should be able to run on simple and inexpensive single-board computers like a Raspberry Pi or something similar. Nerves is a logical choice to serve as a foundation in many ways, but I would really like to continue using Erlang and not switch to Elixir. Does anyone have experience using Erlang on Nerves and has this been documented?
I can’t find any clues in the docs

If you’re fine with using mix as a build tool instead of rebar there’s not much nerves specific to say. Create a src/ folder in the mix/nerves project and put erlang files in there. Mix can handle that ootb. Using rebar is basically unsupported due to all the integrations nerves uses with mix from mix tasks to mix targets, probably some env variable management, compiling nifs to the correct target, ….

Thanks, I’ll give it a try. Would prefer to keep rebar3 managing projects and dependencies.