{ pkgs, packages, ... }: { #home.packages = with pkgs; [ mpv ]; programs.mpv.enable = true; programs.mpv.bindings."n" = "sub-seek 1"; programs.mpv.bindings."SHIFT+n" = "sub-seek -1"; programs.mpv.bindings."b" = ''cycle-values audio-channels 2 "auto"''; programs.mpv.scripts = with pkgs.mpvScripts; [ #thumbnail # TOO SLOW #mpris # TODO: thumbfast packages.mpv-webm # activate with SHIFT+w ]; #programs.mpv.config.osc = "no"; # likely a 'thumbnail' requirement #https://nixos.wiki/wiki/Accelerated_Video_Playback programs.mpv.config.hwdec = "auto-safe"; programs.mpv.config.vo = "gpu"; programs.mpv.config.profile = "gpu-hq"; programs.mpv.config.gpu-context = "wayland"; }