nixos-config/modules/system/services/server/socialserver/owncast/default.nix

15 lines
312 B
Nix
Raw Normal View History

{ config, lib, ... }:
{
imports = [ ./nginx ];
config = lib.mkIf config.system.socialserver.enable {
services.owncast = {
enable = true;
port = 8060;
rtmp-port = 1945;
listen = "0.0.0.0";
};
2025-03-06 23:22:49 -05:00
environment.persistence."/persist".directories = [ "/var/lib/owncast" ];
};
}