2024-03-09 10:57:55 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
mpc-cli
|
|
|
|
ymuse
|
|
|
|
];
|
|
|
|
services.mpd = {
|
|
|
|
enable = true;
|
|
|
|
musicDirectory = "/home/max/Music/";
|
|
|
|
network.startWhenNeeded = true;
|
|
|
|
extraConfig = ''
|
2024-03-09 22:21:34 +01:00
|
|
|
restore_paused "yes"
|
|
|
|
auto_update "yes"
|
2024-03-09 10:57:55 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
services.mpd-mpris.enable = true;
|
|
|
|
services.mpdris2.enable = true;
|
|
|
|
}
|