commit 4eda4401d5c93e8ae5ad1431bd3099e12eaf65de
parent d5c969242a2069b1d02fe8055ab75f85475f6267
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 15 Sep 2022 10:46:44 +0200
parent d5c969242a2069b1d02fe8055ab75f85475f6267
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 15 Sep 2022 10:46:44 +0200
programs/bash: add alias to download best audio as opus with yt-dlp
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/configurations/programs/cli/bash.nix b/configurations/programs/cli/bash.nix @@ -51,6 +51,8 @@ eval-system-config = "nix-instantiate \"<nixpkgs/nixos>\" -A config.system.build.toplevel -I /etc/nixos/configuration.nix"; + yt-dlp-audio = "yt-dlp --format bestaudio -x --audio-format opus --add-metadata --embed-thumbnail"; + nix-collect-garbage = "sudo nix-collect-garbage"; };