From 7a836ce085ee82f488e86f1250ac37a5e97ef9e9 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 1 Nov 2022 11:43:56 +0100 Subject: ma wbob: start mjpeg-streamer --- makefu/1systems/wbob/config.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'makefu') diff --git a/makefu/1systems/wbob/config.nix b/makefu/1systems/wbob/config.nix index 60f4f7b72..d4d0f4b69 100644 --- a/makefu/1systems/wbob/config.nix +++ b/makefu/1systems/wbob/config.nix @@ -34,6 +34,7 @@ in { # + # Sensors @@ -54,6 +55,13 @@ in { # # #mpd is only used for TTS, this is the web interface + { + services.mjpg-streamer = { + enable = true; + inputPlugin = "input_uvc.so -d /dev/video0 -r 640x480 -y -f 30 -q 50 -n"; + outputPlugin = "output_http.so -w @www@ -n -p 18088"; + }; + } (let collectd-port = 25826; influx-port = 8086; -- cgit v1.2.3