basic streaming setup
This commit is contained in:
parent
ea8e8ae966
commit
14d1052f63
|
@ -62,6 +62,7 @@
|
|||
./modules/nginx.nix
|
||||
./modules/hedgedoc.nix
|
||||
./modules/wiki.nix
|
||||
./modules/stream.nix
|
||||
{
|
||||
sops.defaultSopsFile = ./secrets/durian.yaml;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{pkgs, lib, config, ...}:
|
||||
let
|
||||
website = fetchFromGithub {
|
||||
website = pkgs.fetchFromGitHub {
|
||||
owner = "fsr";
|
||||
repo = "ese20-ansible";
|
||||
rev = "1b380f3bfd48aae2a17aefbbdd0538f09b7d3bcf";
|
||||
|
@ -24,12 +24,11 @@ in {
|
|||
locations."/" = let
|
||||
cfg = config.services.owncast;
|
||||
in {
|
||||
proxyPass = "http://${toString cfg.listen}:${toString cfg.post}";
|
||||
proxyPass = "http://${toString cfg.listen}:${toString cfg.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
owncast = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue