add mpv config

This commit is contained in:
jacekpoz 2023-08-01 21:19:10 +02:00
parent 205294eb4b
commit 2e30b4433a
2 changed files with 19 additions and 0 deletions

View file

@ -4,6 +4,7 @@ _: {
./foot.nix
./gtk.nix
./hypr.nix
./mpv.nix
./qt.nix
./rofi.nix
./swaylock.nix

18
homes/jacek/gui/mpv.nix Normal file
View file

@ -0,0 +1,18 @@
{
config,
pkgs,
...
}: {
config = {
programs.mpv = {
enable = true;
config = {
vo = "gpu-next";
hwdec = "auto";
gpu-api = "vulkan";
vulkan-device = "AMD Radeon RX 6800M (RADV NAVI22)";
volume = 50;
};
};
};
}