1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 11:19: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:
Mario Rodas 2022-12-03 04:20:00 +00:00 committed by Robert Helgesson
parent 44ca0df409
commit 9ad9dfe371
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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-subs = true; embed-thumbnail = true;
sub-langs = "all"; embed-subs = true;
downloader = "aria2c"; sub-langs = "all";
downloader-args = "aria2c:'-c -x8 -s8 -k1M'"; downloader = "aria2c";
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
}
''; '';
description = '' description = ''
Configuration written to Configuration written to