yt-dlp: fix settings example
The yt-dlp settings should be an attribute set.
This commit is contained in:
parent
90b0e5f440
commit
e3e2abaef5
|
@ -29,11 +29,13 @@ in {
|
|||
type = with types; attrsOf (oneOf [ bool int str ]);
|
||||
default = { };
|
||||
example = literalExpression ''
|
||||
embed-thumbnail = true;
|
||||
embed-subs = true;
|
||||
sub-langs = "all";
|
||||
downloader = "aria2c";
|
||||
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
|
||||
{
|
||||
embed-thumbnail = true;
|
||||
embed-subs = true;
|
||||
sub-langs = "all";
|
||||
downloader = "aria2c";
|
||||
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
|
||||
}
|
||||
'';
|
||||
description = ''
|
||||
Configuration written to
|
||||
|
|
Loading…
Reference in a new issue