summary refs log tree commit diff
path: root/nixos/modules/services/web-apps
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 /nixos/modules/services/web-apps
parentf1352f4ffed35436a72cc274e20b9695e863b057 (diff)
downloadnixpkgs-c2296c3ec277d21786ddd289dca93b1433f277e8.tar
nixpkgs-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.gz
nixpkgs-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.bz2
nixpkgs-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.lz
nixpkgs-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.xz
nixpkgs-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.zst
nixpkgs-c2296c3ec277d21786ddd289dca93b1433f277e8.zip
nixos/peertube: fix youtube-dl import
Diffstat (limited to 'nixos/modules/services/web-apps')
-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 a6542801826..7be11496e47 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