NixOS-Config/system/server/owncast.nix

19 lines
382 B
Nix
Raw Normal View History

{outputs, ...}: {
services = {
owncast = {
enable = true;
port = 8060;
rtmp-port = 1945;
listen = "0.0.0.0";
};
nginx.virtualHosts."live.${outputs.secrets.jimDomain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8060";
proxyWebsockets = true;
};
};
2024-08-24 22:16:51 -04:00
};
}