nixos/peertube: add python path

(cherry picked from commit e0616741d1)
This commit is contained in:
Izorkin
2022-02-24 21:50:26 +03:00
committed by github-actions[bot]
parent c56148c6fb
commit 365c1f3f11

View File

@@ -316,6 +316,15 @@ in {
plugins = lib.mkDefault "/var/lib/peertube/storage/plugins/";
client_overrides = lib.mkDefault "/var/lib/peertube/storage/client-overrides/";
};
import = {
videos = {
http = {
youtube_dl_release = {
python_path = "${pkgs.python3}/bin/python";
};
};
};
};
}
(lib.mkIf cfg.redis.enableUnixSocket { redis = { socket = "/run/redis/redis.sock"; }; })
];