From 52077238a7b57278c5019555cc7b7a8f9f4504ba Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 8 Oct 2025 09:02:57 +0200 Subject: [PATCH] Add res cap for yt-dlp --- modules/yt-dlp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/yt-dlp.nix b/modules/yt-dlp.nix index 1dd5e68..05b43f7 100644 --- a/modules/yt-dlp.nix +++ b/modules/yt-dlp.nix @@ -46,7 +46,7 @@ in # Create yt-dlp configuration file home.file.".config/yt-dlp/config".text = '' # Quality settings - --format "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" + --format "bestvideo[ext=mp4][height<=1080]+bestaudio[ext=m4a]/best[ext=mp4][height<=1080]/best" --merge-output-format mp4 # Download options