programs.mpv.enable
Whether to enable mpv.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.mpv.package
The mpv package to use.
Type: package
Default:
pkgs.mpv
Example:
pkgs.mpv-unwrapped.wrapper { mpv = pkgs.mpv-unwrapped.override { vapoursynthSupport = true; }; youtubeSupport = true; }
Declared by:
programs.mpv.bindings
Input configuration written to
$XDG_CONFIG_HOME/mpv/input.conf. See
mpv(1)
for the full list of options.
Type: attribute set of string
Default:
{ }
Example:
{
"Alt+0" = "set window-scale 0.5";
WHEEL_DOWN = "seek -10";
WHEEL_UP = "seek 10";
}
Declared by:
programs.mpv.config
Configuration written to
$XDG_CONFIG_HOME/mpv/mpv.conf. See
mpv(1)
for the full list of options.
Type: attribute set of (string or signed integer or boolean or floating point number or list of (string or signed integer or boolean or floating point number))
Default:
{ }
Example:
{
cache-default = 4000000;
force-window = true;
profile = "gpu-hq";
ytdl-format = "bestvideo+bestaudio";
}
Declared by:
programs.mpv.defaultProfiles
Profiles to be applied by default. Options set by them are overridden by options set in .
Type: list of string
Default:
[ ]
Example:
[
"gpu-hq"
]
Declared by:
programs.mpv.extraInput
Additional lines that are appended to $XDG_CONFIG_HOME/mpv/input.conf.
See mpv(1) for the full list of options.
Type: strings concatenated with ā\nā
Default:
""
Example:
''
esc quit #! Quit
# script-binding uosc/video #! Video tracks
# additional comments
''
Declared by:
programs.mpv.extraMakeWrapperArgs
List of scripts to use with mpv.
Type: list of string
Default:
[ ]
Example:
[
"--prefix"
"LD_LIBRARY_PATH"
":"
(lib.makeLibraryPath [ pkgs.libaacs pkgs.libbluray ])
]
Declared by:
programs.mpv.includes
List of configuration files to include at the end of mpv.conf. Mpv accepts several useful prefixes.
Type: list of string
Default:
[ ]
Example:
[
"~/path/to/config.inc"
"~~/conditional.inc"
]
Declared by:
programs.mpv.profiles
Sub-configuration options for specific profiles written to
$XDG_CONFIG_HOME/mpv/mpv.conf. See
programs.mpv.config for more information.
Type: attribute set of attribute set of (string or signed integer or boolean or floating point number or list of (string or signed integer or boolean or floating point number))
Default:
{ }
Example:
{
fast = {
vo = "vdpau";
};
"protocol.dvd" = {
profile-desc = "profile for dvd:// streams";
alang = "en";
};
}
Declared by:
programs.mpv.scriptOpts
Script options added to
$XDG_CONFIG_HOME/mpv/script-opts/. See
mpv(1)
for the full list of options of builtin scripts.
Type: attribute set of attribute set of (string or signed integer or boolean or floating point number or list of (string or signed integer or boolean or floating point number))
Default:
{ }
Example:
{
osc = {
scalewindowed = 2.0;
vidscale = false;
visibility = "always";
};
}
Declared by:
programs.mpv.scripts
List of scripts to use with mpv.
Type: list of package
Default:
[ ]
Example:
[ pkgs.mpvScripts.mpris ]
Declared by: