os/hosts/flora-6/owncast.nix
teutat3s dd62bf1752
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
flora-6: init owncast
2023-05-13 16:50:58 +02:00

25 lines
548 B
Nix

{
config,
lib,
pkgs,
self,
...
}: {
# owncast
services.owncast = {
enable = true;
user = "owncast";
group = "owncast";
# The directory where owncast stores its data files.
dataDir = "/var/lib/owncast";
# Open the appropriate ports in the firewall for owncast.
openFirewall = true;
# The IP address to bind the owncast web server to.
listen = "127.0.0.1";
# TCP port where owncast rtmp service listens.
rtmp-port = 1935;
# TCP port where owncast web-gui listens.
port = 5000;
};
}