home | trying to fix slowness w/ utube

This commit is contained in:
Don Harper 2023-02-10 17:29:21 -06:00
parent 1797eef8b3
commit ca31445400

View file

@ -19,7 +19,7 @@
programs.mpv = {
enable = true;
config = {
cache-dir = "~/.cache";
cache-dir = "/home/don/.cache";
cache-on-disk = "yes";
cache = "yes";
demuxer-max-back-bytes = "100M";
@ -29,12 +29,13 @@
save-position-on-quit = "yes";
slang = "en";
user-agent = "Mozilla/5.0";
ytdl-format="bestvideo[height<=?1080]+bestaudio/best";
ytdl-format = "bestvideo+bestaudio";
ytdl-raw-options = "no-playlist=";
ytdl = "yes";
script-opts = "ytdl_hook-ytdl_path=yt-dlp";
};
scripts = [ pkgs.mpvScripts.autoload ];
#scripts = [ pkgs.mpvScripts.autoload pkgs.mpvScripts.sponsorblock ];
};
services.gpg-agent = {
enable = true;