aboutsummaryrefslogtreecommitdiff
path: root/home/programs/yt-dlp.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2026-01-02 12:06:12 -0800
committerFranck Cuny <franck@fcuny.net>2026-01-02 12:06:12 -0800
commit9dadee200241480f3c20677bf6aea63126bb880f (patch)
tree7757c2d7c8e2cf8bbd3fd17efbef58d5bd68b088 /home/programs/yt-dlp.nix
parentinitial setup for ollama (diff)
downloadinfra-9dadee200241480f3c20677bf6aea63126bb880f.tar.gz
one last big shuffle
Diffstat (limited to 'home/programs/yt-dlp.nix')
-rw-r--r--home/programs/yt-dlp.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/home/programs/yt-dlp.nix b/home/programs/yt-dlp.nix
new file mode 100644
index 0000000..855c052
--- /dev/null
+++ b/home/programs/yt-dlp.nix
@@ -0,0 +1,20 @@
+{ ... }:
+{
+ programs.yt-dlp = {
+ enable = true;
+ settings = {
+ mtime = false;
+ merge-output-format = "mkv";
+ restrict-filenames = true;
+ embed-thumbnail = true;
+ embed-metadata = true;
+ embed-chapters = true;
+ sponsorblock-mark = "sponsor";
+ output = "~/Movies/%(uploader)s/%(upload_date>%Y-%m-%d)s-%(title)s-%(id)s.%(ext)s";
+ write-sub = true;
+ write-auto-sub = true;
+ sub-langs = "en.\\*";
+ format = "bestvideo*[format_id!*=-sr]+bestaudio/best[format_id!*=-sr]";
+ };
+ };
+}