Merge pull request #74 from DarkKirb/fix-peertube-v2

fix pixeltube for real
This commit is contained in:
Charlotte 🦝 Delenk 2022-11-27 21:30:41 +01:00 committed by GitHub
commit a1096c661d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ config, ... }: {
{ config, pkgs, lib, ... }: {
services.peertube = {
enable = true;
localDomain = "peertube.chir.rs";
@ -9,7 +9,7 @@
settings = {
object_storage = {
enabled = true;
endpoint = "s3.us-west-001.backblazeb2.com";
endpoint = "s3.us-west-000.backblazeb2.com";
videos = {
bucket_name = "mastodon-chir-rs";
prefix = "peertube/videos/";
@ -25,6 +25,7 @@
database.createLocally = true;
redis.createLocally = true;
};
systemd.services.peertube.path = with pkgs; lib.mkForce [ bashInteractive ffmpeg_5 nodejs-16_x openssl yarn python3 coreutils systemd ];
services.caddy.virtualHosts."peertube.chir.rs" = {
useACMEHost = "chir.rs";
extraConfig = ''