updating flake and pinning to 22.05

This commit is contained in:
revol-xut 2022-11-18 17:51:09 +01:00
parent ba27089255
commit 231d82029d
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07
5 changed files with 114 additions and 110 deletions

View file

@ -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;

View file

@ -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;
};