Reorganize some apps and add wlsunset
This commit is contained in:
parent
8ffc50bef7
commit
829459865c
11 changed files with 10 additions and 14 deletions
|
@ -8,7 +8,9 @@
|
|||
./neovim
|
||||
./nh
|
||||
./ranger
|
||||
./spotdl
|
||||
./tmux
|
||||
./yt-dlp
|
||||
./zsh
|
||||
];
|
||||
}
|
||||
|
|
7
modules/home/programs/terminal/spotdl/default.nix
Normal file
7
modules/home/programs/terminal/spotdl/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [ spotdl ];
|
||||
shellAliases.spotdl = "spotdl --m3u --format opus";
|
||||
};
|
||||
}
|
15
modules/home/programs/terminal/yt-dlp/default.nix
Normal file
15
modules/home/programs/terminal/yt-dlp/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }:
|
||||
{
|
||||
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'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue