mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-12 15:41:14 +01:00
ZeNixComputa: Deploy mediamtx
This commit is contained in:
parent
becc3b4b7a
commit
079e43a960
1 changed files with 40 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue