initial commit

This commit is contained in:
2026-05-14 13:39:10 +02:00
commit 7e444146d2
37 changed files with 1537 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{ pkgs, ... }:
{
services.nginx = {
enable = true;
additionalModules = [ pkgs.nginxModules.rtmp ];
appendConfig = ''
rtmp {
server {
listen 1935;
chunk_size 1024;
application stream {
live on;
}
}
}
'';
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}