From e3e2abaef5c56620680201ebeb84d18fe43c813d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 3 Dec 2022 04:20:00 +0000 Subject: [PATCH] yt-dlp: fix settings example The yt-dlp settings should be an attribute set. --- modules/programs/yt-dlp.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/programs/yt-dlp.nix b/modules/programs/yt-dlp.nix index 0ee80ae85..af74db16d 100644 --- a/modules/programs/yt-dlp.nix +++ b/modules/programs/yt-dlp.nix @@ -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