programs.yt-dlp.enable
Whether to enable yt-dlp.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.yt-dlp.package
The yt-dlp package to use.
Type: package
Default:
pkgs.yt-dlp
Declared by:
programs.yt-dlp.extraConfig
Extra configuration to add to
$XDG_CONFIG_HOME/yt-dlp/config.
Type: strings concatenated with “\n”
Default:
""
Example:
''
--update
-F
''
Declared by:
programs.yt-dlp.settings
Configuration written to
$XDG_CONFIG_HOME/yt-dlp/config.
Options must be specified in their “long form”, for
example, update = true; instead of U = true;.
Short options can be specified in the extraConfig option.
See https://github.com/yt-dlp/yt-dlp#configuration
for explanation about possible values.
Type: attribute set of (boolean or signed integer or string or list of (boolean or signed integer or string))
Default:
{ }
Example:
{
color = [
"stdout:no_color"
"stderr:always"
];
downloader = "aria2c";
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
embed-subs = true;
embed-thumbnail = true;
sub-langs = "all";
}
Declared by: