owncast init

This commit is contained in:
41666 2024-06-03 22:35:16 -04:00
parent c74b5a5fba
commit bbd06a50be
6 changed files with 135 additions and 90 deletions

View file

@ -36,6 +36,7 @@ in rec {
se.servers."${tsHost "sapphic-engineer" 4000}" = {};
git.servers."${tsHost "git" 3000}" = {};
staticsites.servers."${tsHost "static-sites" 80}" = {};
owncast.servers."${tsHost "owncast" 8080}" = {};
};
proxyCachePath."pdr" = {
@ -97,6 +98,14 @@ in rec {
"saerro.ps2.live" = ps2live "saerro";
"metagame.ps2.live" = ps2live "metagame";
"live.doll.repair" = {
locations."/" = {
recommendedProxySettings = true;
proxyPass = "http://owncast";
proxyWebsockets = true;
};
} // defaultConfig;
"porcelain.doll.repair" = {
# serverAliases = ["p.doll.repair"]; # Media Proxy
locations."/" = {

View file

@ -0,0 +1 @@
10.100.1.47

View file

@ -0,0 +1,17 @@
{ inputs, pkgs, config, lib, ... }: {
imports = [
../../templates/proxmox-lxc.nix
../../server.nix
];
networking.hostName = "owncast";
system.stateVersion = "24.05";
nixpkgs.hostPlatform = "x86_64-linux";
services.owncast = {
enable = true;
listen = 8080;
port = 6060;
rtmp-port = 6969;
};
}