home/cam: add mjpeg-streamer for pseyecam

This commit is contained in:
makefu 2024-05-30 17:42:23 +02:00
parent c77dd59046
commit cddc631c3e
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

9
2configs/home/cam.nix Normal file
View file

@ -0,0 +1,9 @@
{
# the pseyecam in the diorama
services.mjpg-streamer = {
enable = true;
inputPlugin = "input_uvc.so -d /dev/web_cam -r 640x480 -f 10 -y";
outputPlugin = "output_http.so -w @www@ -n -p 18088";
};
}