Update some formatting and move aliases into app specific nix files

This commit is contained in:
Bun 2025-04-04 21:11:51 -04:00
parent fb06bdf1f0
commit c50925b74b
9 changed files with 16 additions and 52 deletions

View file

@ -1,16 +1,15 @@
{ config, lib, ... }:
{ config, ... }:
{
config = lib.mkIf config.home.desktop.enable {
programs.yt-dlp = {
enable = true;
settings = {
add-metadata = true;
embed-thumbnail = true;
convert-thumbnails = "jpg";
audio-format = "opus";
output = ''"%(artist)s - %(title)s.%(ext)s"'';
};
programs.yt-dlp = {
enable = config.home.desktop.enable;
settings = {
add-metadata = true;
embed-thumbnail = true;
convert-thumbnails = "jpg";
audio-format = "opus";
output = ''"%(artist)s - %(title)s.%(ext)s"'';
};
home.shellAliases.opusdl = "yt-dlp -f ba -x --audio-quality 0";
};
home.shellAliases.opusdl = "yt-dlp -f ba -x --audio-quality 0";
}