nixos/peertube: add python path

This commit is contained in:
Izorkin 2022-02-24 21:50:26 +03:00
parent fd00aa150c
commit e0616741d1
No known key found for this signature in database
GPG Key ID: 1436C1B3F3679F09

View File

@ -334,6 +334,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"; }; })
];