From 079e43a9606570b6eefa6abe929e795d8544b83e Mon Sep 17 00:00:00 2001 From: traxys Date: Mon, 22 Sep 2025 10:20:31 +0200 Subject: [PATCH] ZeNixComputa: Deploy mediamtx --- hostconfig/ZeNixComputa/nixos.nix | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/hostconfig/ZeNixComputa/nixos.nix b/hostconfig/ZeNixComputa/nixos.nix index 4b61172..1802fda 100644 --- a/hostconfig/ZeNixComputa/nixos.nix +++ b/hostconfig/ZeNixComputa/nixos.nix @@ -52,6 +52,11 @@ 843 38202 38203 + 8554 + 1935 + 8888 + 8889 + 8890 ]; firewall.allowedUDPPorts = [ 24642 @@ -60,6 +65,10 @@ 843 38202 38203 + 8000 + 8001 + 8002 + 8003 ]; }; @@ -73,6 +82,37 @@ }; }; + services.mediamtx = { + enable = true; + settings = { + authMethod = "internal"; + authInternalUsers = [ + { + user = "any"; + pass = ""; + ips = [ ]; + permissions = [ + { + action = "publish"; + path = ""; + } + { + action = "read"; + path = ""; + } + { + action = "playback"; + path = ""; + } + ]; + } + ]; + paths = { + traxys = { }; + }; + }; + }; + hardware.ckb-next.enable = true; services.postgresql = {