rm mediamtx

This commit is contained in:
Motiejus Jakštys 2024-10-21 15:17:13 +03:00
parent 5ffff18bb2
commit 37a55d7ee3
1 changed files with 0 additions and 14 deletions

View File

@ -1,5 +1,4 @@
{ {
lib,
pkgs, pkgs,
config, config,
myData, myData,
@ -78,19 +77,6 @@ in
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
nixpkgs.hostPlatform = "x86_64-linux"; 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 = { mj = {
stateVersion = "24.05"; stateVersion = "24.05";
timeZone = "Europe/Vilnius"; timeZone = "Europe/Vilnius";