mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
feat: playing around with mpd and rmpc
This commit is contained in:
parent
c359f738ab
commit
8a06bb05fe
7 changed files with 491 additions and 33 deletions
28
modules/home/cli/fun/mpd/default.nix
Normal file
28
modules/home/cli/fun/mpd/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
services = {
|
||||
mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/mnt/media/ceres/storage/Music";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "my_fifo"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
}
|
||||
'';
|
||||
};
|
||||
mpd-discord-rpc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
format = {
|
||||
hosts = [ "localhost:6600" ];
|
||||
details = "$title";
|
||||
state = "$artist";
|
||||
display_type = "state";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.cava.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue