add mpv config
This commit is contained in:
parent
205294eb4b
commit
2e30b4433a
2 changed files with 19 additions and 0 deletions
|
@ -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
18
homes/jacek/gui/mpv.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue