Nix-raspi-camera: Raspberry PI camera module and apps

Raspberry Pi provides a hardware camera interface and API based on libisp, libcamera and rpicam-apps.

My project which brings the above parts together into a draft flake-based Nixos module.

The module sets up runs a simple RTSP broadcasting server on a RaspberryPi 4B board, offering few or no configurable options. I do not currently plan to enhance anything or make tests with other boards. Still, I hope that it might become a reference example for other programmers.

Please let me know if you want me to share the link on the Nixos raspberry pi wiki page or somewhere else.

3 Likes

I am bungling my way through trying to get my zero2 w working with the camera v 2 module on nixos, and came across your repo and this post.

You mentioned in “Problems” looking for the dts overlay, is it this?

I am bungling my way through trying to get my zero2 w working with the camera v 2 module on nixos

Did you succeed in getting the camera v2 module to work? I kinda gave up with my raspberry pi 4.

Hi @aou . Sorry I missed your question. Indeed, the link you provided points to a promising dts source. A good thing to do would be to try removing the binary patch I used and including this source as described here.

@7FM I had to put this project on hold as other stuff bubbled up… hopefully will get back to trying eventually!