home: mpv: minor adjustments

This commit is contained in:
Guanran Wang 2023-12-14 16:07:54 +08:00
parent 726be953eb
commit 4f278339e3
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -6,8 +6,10 @@
programs.mpv = {
enable = true;
config = {
ao = "pipewire,";
vo = "gpu-next,gpu,";
hwdec = "auto-safe";
vo = "gpu-next";
profile = "gpu-hq";
osc = "no";
};
@ -15,7 +17,9 @@
[
thumbfast
]
++ lib.optionals (!pkgs.stdenv.hostPlatform.isDarwin) (with pkgs.mpvScripts; [mpris]);
++ lib.optionals (!pkgs.stdenv.hostPlatform.isDarwin) (with pkgs.mpvScripts; [
mpris
]);
};
# for scripts that is not in nixpkgs