rm mediamtx

This commit is contained in:
Motiejus Jakštys 2024-10-21 15:17:13 +03:00
parent 5ffff18bb2
commit 37a55d7ee3

View File

@ -1,5 +1,4 @@
{
lib,
pkgs,
config,
myData,
@ -78,19 +77,6 @@ in
hardware.cpu.intel.updateMicrocode = true;
nixpkgs.hostPlatform = "x86_64-linux";
services.mediamtx = {
enable = true;
allowVideoAccess = true;
settings = {
paths = {
cam = {
runOnInit = "${lib.getExe pkgs.ffmpeg} -f v4l2 -i /dev/video0 -f rtsp rtsp://localhost:$RTSP_PORT/$RTSP_PATH";
runOnInitRestart = true;
};
};
};
};
mj = {
stateVersion = "24.05";
timeZone = "Europe/Vilnius";