mirror of
https://github.com/nix-community/home-manager
synced 2024-12-26 03:39:47 +01:00
yt-dlp: fix settings example
The yt-dlp settings should be an attribute set.
(cherry picked from commit e3e2abaef5
)
This commit is contained in:
parent
44ca0df409
commit
9ad9dfe371
1 changed files with 7 additions and 5 deletions
|
@ -29,11 +29,13 @@ in {
|
||||||
type = with types; attrsOf (oneOf [ bool int str ]);
|
type = with types; attrsOf (oneOf [ bool int str ]);
|
||||||
default = { };
|
default = { };
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
|
{
|
||||||
embed-thumbnail = true;
|
embed-thumbnail = true;
|
||||||
embed-subs = true;
|
embed-subs = true;
|
||||||
sub-langs = "all";
|
sub-langs = "all";
|
||||||
downloader = "aria2c";
|
downloader = "aria2c";
|
||||||
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
|
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Configuration written to
|
Configuration written to
|
||||||
|
|
Loading…
Reference in a new issue