More server changes and generalization of the waybar

This commit is contained in:
Jimbo 2024-12-12 06:37:05 -05:00
parent 7540a2156a
commit ba65a9a177
36 changed files with 213 additions and 402 deletions

View file

@ -1,5 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ spotdl ];
programs.zsh.shellAliases.spotdl = "spotdl --m3u --format opus";
home = {
packages = with pkgs; [ spotdl ];
shellAliases.spotdl = "spotdl --m3u --format opus";
};
}

View file

@ -1,20 +1,19 @@
{ ... }:
{
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"'';
};
};
zsh.shellAliases = {
ytm3u = "yt-dlp -gS proto:m3u8";
opusdl = ''yt-dlp -f ba -x --audio-quality 0'';
spotdl = "spotdl --m3u --format opus";
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 = {
ytm3u = "yt-dlp -gS proto:m3u8";
opusdl = ''yt-dlp -f ba -x --audio-quality 0'';
spotdl = "spotdl --m3u --format opus";
};
}

View file

@ -2,7 +2,6 @@
{
imports = [
./launchers
./games
./emulators
];
}

View file

@ -1,4 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ xash3d ];
}