flake/home/applications/mpv/default.nix

31 lines
490 B
Nix
Raw Normal View History

2023-12-13 11:02:11 +00:00
{
pkgs,
lib,
...
}: {
2023-12-12 18:53:45 +00:00
programs.mpv = {
enable = true;
config = {
2023-12-14 08:07:54 +00:00
ao = "pipewire,";
vo = "gpu-next,gpu,";
2023-12-12 18:53:45 +00:00
hwdec = "auto-safe";
profile = "gpu-hq";
osc = "no";
2024-06-01 21:48:22 +00:00
alang = "jpn,ja";
slang = "eng,en";
2023-12-12 18:53:45 +00:00
};
2024-06-11 17:00:11 +00:00
2024-06-21 03:05:31 +00:00
scripts =
(with pkgs.mpvScripts; [
thumbfast
sponsorblock
modernx-zydezu
])
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux (with pkgs.mpvScripts; [
mpris
]);
2023-12-12 18:53:45 +00:00
};
2023-11-28 05:40:22 +00:00
}