feat(mpv): enable mpv and add va configuration

This commit is contained in:
514fpv 2024-01-05 09:26:49 +08:00
parent 299fc276b7
commit 028ccd9244
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

14
home/mpv/home.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs
, lib
, config
, ... }: with lib; mkIf config.passthrough.gui {
programs.mpv = {
enable = true;
config = {
hwdec = "auto-safe";
vo = "gpu";
profile = "gpu-hq";
gpu-context = "wayland";
};
};
}