Comment by traverseda

1 day ago

I know this isn't the point, but here's my nixos script for using a canon DSLR as a webcam

https://codeberg.org/traverseda/nixos-config/src/commit/ee3f...

To get this out of nixos you need to create 4 files

dslrWebcamConfContent goes into your modprobe config

dslrUdevRule goes into your udev rules

dslrWebcamScript goes somewhere, probably /opt

dslrWebcamService is a systemd service.