forked from poz/niksos
add owncast (I'm literally xqc)
This commit is contained in:
parent
7249a7dd50
commit
f4d5e3fa47
2 changed files with 21 additions and 0 deletions
|
@ -14,6 +14,7 @@ _: {
|
||||||
./i2pd.nix
|
./i2pd.nix
|
||||||
./jacekpoz.pl.nix
|
./jacekpoz.pl.nix
|
||||||
./ntfy-sh.nix
|
./ntfy-sh.nix
|
||||||
|
./owncast.nix
|
||||||
#./stalwart.nix
|
#./stalwart.nix
|
||||||
./trollface.pl
|
./trollface.pl
|
||||||
#./qbittorrent.nix
|
#./qbittorrent.nix
|
||||||
|
|
20
hosts/chmura/owncast.nix
Normal file
20
hosts/chmura/owncast.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.owncast = {
|
||||||
|
enable = true;
|
||||||
|
port = 9842;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts."live.jacekpoz.pl".extraConfig = ''
|
||||||
|
encode gzip
|
||||||
|
reverse_proxy 127.0.0.1:9842
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 443 ]
|
||||||
|
++ [ config.services.owncast.rtmp-port ];
|
||||||
|
}
|
Loading…
Reference in a new issue