home/cam: add mjpeg-streamer for pseyecam
This commit is contained in:
parent
c77dd59046
commit
cddc631c3e
9
2configs/home/cam.nix
Normal file
9
2configs/home/cam.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue