50 lines
1011 B
Nix
50 lines
1011 B
Nix
{
|
|
lux.mpv = {
|
|
homeManager =
|
|
{ pkgs, ... }:
|
|
{
|
|
programs.mpv = {
|
|
enable = true;
|
|
bindings = {
|
|
D = "cycle deband";
|
|
};
|
|
config = {
|
|
profile = "high-quality";
|
|
|
|
osc = "no";
|
|
border = "no";
|
|
|
|
vo = "gpu-next";
|
|
gpu-api = "vulkan";
|
|
hwdec = "vulkan";
|
|
|
|
demuxer-mkv-subtitle-preroll = "yes";
|
|
sub-auto = "fuzzy";
|
|
|
|
sub-gauss = 1.0;
|
|
sub-gray = "yes";
|
|
|
|
tone-mapping = "bt.2446a";
|
|
|
|
keep-open = "yes";
|
|
save-position-on-quit = "yes";
|
|
|
|
volume-max = 150;
|
|
|
|
deband = "yes";
|
|
deband-iterations = 2;
|
|
deband-threshold = 64;
|
|
deband-range = 17;
|
|
deband-grain = 12;
|
|
};
|
|
scripts = with pkgs.mpvScripts; [
|
|
modernz
|
|
thumbfast
|
|
mpris
|
|
autosub
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|