feat: playing around with mpd and rmpc

This commit is contained in:
Nick 2025-11-25 03:10:38 -06:00
parent 8a06bb05fe
commit e63236cfcc
5 changed files with 101 additions and 122 deletions

17
modules/home/cli/fun/mpd/default.nix Normal file → Executable file
View file

@ -6,6 +6,10 @@
extraConfig = ''
audio_output {
type "pulse"
name "PulseAudio"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
@ -18,11 +22,20 @@
format = {
hosts = [ "localhost:6600" ];
details = "$title";
state = "$artist";
state = "🥒💦$artist";
display_type = "state";
};
};
};
};
programs.cava.enable = true;
programs.cava = {
enable = true;
settings = {
input = {
method = "fifo";
source = "/tmp/mpd.fifo";
};
};
};
}