niksos/homes/jacek/gui/mpv.nix
jacekpoz a23797fd27 feat(mpv): add plugins
this shit is really cool I had no idea there were custom UIs
2023-08-05 22:02:59 +02:00

27 lines
611 B
Nix

{
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;
osc = "no";
osd-bar = "no";
border = "no";
};
scripts = with pkgs.mpvScripts; [
mpris
thumbfast
sponsorblock
uosc
];
};
};
}