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 = { services.peertube = {
enable = true; enable = true;
localDomain = "peertube.chir.rs"; localDomain = "peertube.chir.rs";
@ -9,7 +9,7 @@
settings = { settings = {
object_storage = { object_storage = {
enabled = true; enabled = true;
endpoint = "s3.us-west-001.backblazeb2.com"; endpoint = "s3.us-west-000.backblazeb2.com";
videos = { videos = {
bucket_name = "mastodon-chir-rs"; bucket_name = "mastodon-chir-rs";
prefix = "peertube/videos/"; prefix = "peertube/videos/";
@ -25,6 +25,7 @@
database.createLocally = true; database.createLocally = true;
redis.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" = { services.caddy.virtualHosts."peertube.chir.rs" = {
useACMEHost = "chir.rs"; useACMEHost = "chir.rs";
extraConfig = '' extraConfig = ''