Shift home config to enable by desktop, work out more details later
This commit is contained in:
parent
d873588c59
commit
77168ba9c7
37 changed files with 120 additions and 127 deletions
|
@ -1,15 +1,16 @@
|
|||
{ ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
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"'';
|
||||
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"'';
|
||||
};
|
||||
};
|
||||
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