home/pbsds: gpu mpv
This commit is contained in:
parent
a3c26357c5
commit
b94ff03fe0
|
@ -3,9 +3,15 @@
|
|||
#home.packages = with pkgs; [ mpv ];
|
||||
|
||||
programs.mpv.enable = true;
|
||||
programs.mpv.bindings."n" = "sub-seek 1";
|
||||
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.config.osc = "no"; # likely a thumbnail requirement
|
||||
programs.mpv.scripts = with pkgs.mpvScripts; [ thumbnail ];
|
||||
programs.mpv.scripts = with pkgs.mpvScripts; [ thumbnail mpris ];
|
||||
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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue