Update some formatting and move aliases into app specific nix files
This commit is contained in:
parent
fb06bdf1f0
commit
c50925b74b
9 changed files with 16 additions and 52 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue