Merge pull request #74 from DarkKirb/fix-peertube-v2
fix pixeltube for real
This commit is contained in:
commit
a1096c661d
1 changed files with 3 additions and 2 deletions
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in a new issue