ma wbob: start mjpeg-streamer

This commit is contained in:
makefu 2022-11-01 11:43:56 +01:00
parent 72411f71f9
commit 7a836ce085
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
1 changed files with 8 additions and 0 deletions

View File

@ -34,6 +34,7 @@ in {
# <stockholm/makefu/2configs/hydra/stockholm.nix>
<stockholm/makefu/2configs/share/wbob.nix>
<stockholm/makefu/2configs/wireguard/thierry.nix>
<stockholm/makefu/2configs/bluetooth-mpd.nix>
# Sensors
@ -54,6 +55,13 @@ in {
# <stockholm/makefu/2configs/bureautomation/visitor-photostore.nix>
# <stockholm/makefu/2configs/bureautomation/mpd.nix> #mpd is only used for TTS, this is the web interface
<stockholm/makefu/2configs/mqtt.nix>
{
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;