aboutsummaryrefslogtreecommitdiff
path: root/nix/modules/home/yt-dlp.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-01-16 00:13:06 -0800
committerPreston Pan <ret2pop@gmail.com>2025-01-16 00:13:06 -0800
commit2dff9d2b61244fed49136028d0e0f6ae3ae759cf (patch)
treeb94dabd4a159ed19705c109cd9047a724ddbd4e2 /nix/modules/home/yt-dlp.nix
parentdd461e48043dabee4694e2b200f4c1d9cfdbc3d9 (diff)
modules about done
Diffstat (limited to 'nix/modules/home/yt-dlp.nix')
-rw-r--r--nix/modules/home/yt-dlp.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/nix/modules/home/yt-dlp.nix b/nix/modules/home/yt-dlp.nix
new file mode 100644
index 0000000..729fb8f
--- /dev/null
+++ b/nix/modules/home/yt-dlp.nix
@@ -0,0 +1,11 @@
+{ lib, config, ... }:
+{
+ enable = lib.mkDefault config.monorepo.profiles.home.video.enable;
+ settings = {
+ embed-thumbnail = true;
+ embed-subs = true;
+ sub-langs = "all";
+ downloader = "aria2c";
+ downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
+ };
+}