owncast init
This commit is contained in:
parent
c74b5a5fba
commit
bbd06a50be
6 changed files with 135 additions and 90 deletions
|
@ -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."/" = {
|
||||
|
|
1
nixos/hosts/owncast/.target
Normal file
1
nixos/hosts/owncast/.target
Normal file
|
@ -0,0 +1 @@
|
|||
10.100.1.47
|
17
nixos/hosts/owncast/default.nix
Normal file
17
nixos/hosts/owncast/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue