about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2022-01-13 21:21:06 +0300
committerIzorkin <izorkin@elven.pw>2022-02-24 22:34:01 +0300
commitc2296c3ec277d21786ddd289dca93b1433f277e8 (patch)
tree299a502651d7b28f14b921d41f3f03c3005cb3a7
parentf1352f4ffed35436a72cc274e20b9695e863b057 (diff)
nixos/peertube: fix youtube-dl import
-rw-r--r--nixos/modules/services/web-apps/peertube.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/peertube.nix b/nixos/modules/services/web-apps/peertube.nix
index a65428018260d..7be11496e474b 100644
--- a/nixos/modules/services/web-apps/peertube.nix
+++ b/nixos/modules/services/web-apps/peertube.nix
@@ -320,6 +320,7 @@ in {
         };
         storage = {
           tmp = lib.mkDefault "/var/lib/peertube/storage/tmp/";
+          bin = lib.mkDefault "/var/lib/peertube/storage/bin/";
           avatars = lib.mkDefault "/var/lib/peertube/storage/avatars/";
           videos = lib.mkDefault "/var/lib/peertube/storage/videos/";
           streaming_playlists = lib.mkDefault "/var/lib/peertube/storage/streaming-playlists/";
@@ -380,7 +381,7 @@ in {
 
       environment = env;
 
-      path = with pkgs; [ bashInteractive ffmpeg nodejs-16_x openssl yarn youtube-dl ];
+      path = with pkgs; [ bashInteractive ffmpeg nodejs-16_x openssl yarn python3 ];
 
       script = ''
         #!/bin/sh