updating flake and pinning to 22.05
This commit is contained in:
parent
ba27089255
commit
231d82029d
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = github:nixpkgs/nixos/nixos-22.05;
|
||||
sops-nix.url = github:Mic92/sops-nix;
|
||||
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
fsr-infoscreen.url = github:fsr/infoscreen;
|
||||
|
|
|
@ -5,16 +5,19 @@ let
|
|||
rev = "1b380f3bfd48aae2a17aefbbdd0538f09b7d3bcf";
|
||||
sha256 = "";
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
services = {
|
||||
nginx = {
|
||||
virtualHosts = {
|
||||
"stream.ifsr.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = let
|
||||
locations."/" =
|
||||
let
|
||||
cfg = config.services.owncast;
|
||||
in {
|
||||
in
|
||||
{
|
||||
proxyPass = "http://${toString cfg.listen}:${toString cfg.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue