diff options
author | Izorkin <izorkin@elven.pw> | 2022-01-13 21:21:06 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2022-02-24 22:34:01 +0300 |
commit | c2296c3ec277d21786ddd289dca93b1433f277e8 (patch) | |
tree | 299a502651d7b28f14b921d41f3f03c3005cb3a7 /nixos/modules/services/web-apps/peertube.nix | |
parent | f1352f4ffed35436a72cc274e20b9695e863b057 (diff) | |
download | nixlib-c2296c3ec277d21786ddd289dca93b1433f277e8.tar nixlib-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.gz nixlib-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.bz2 nixlib-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.lz nixlib-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.xz nixlib-c2296c3ec277d21786ddd289dca93b1433f277e8.tar.zst nixlib-c2296c3ec277d21786ddd289dca93b1433f277e8.zip |
nixos/peertube: fix youtube-dl import
Diffstat (limited to 'nixos/modules/services/web-apps/peertube.nix')
-rw-r--r-- | nixos/modules/services/web-apps/peertube.nix | 3 |
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 a65428018260..7be11496e474 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 |