diff --git a/config/services/peertube/default.nix b/config/services/peertube/default.nix index aba99820..9de6b6ae 100644 --- a/config/services/peertube/default.nix +++ b/config/services/peertube/default.nix @@ -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 = ''