mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
29 lines
576 B
Nix
29 lines
576 B
Nix
|
|
{
|
||
|
|
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;
|
||
|
|
}
|