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