{ pkgs, ... }:
{
  home.packages = with pkgs; [
    mpc
  ];

  services.mpd = {
    enable = true;
    musicDirectory = "/home/max/media/music";
  };

  services.mpd-mpris.enable = true;

  programs.ncmpcpp = {
    enable = true;
    bindings = [
      { key = "j"; command = "scroll_down"; }
      { key = "k"; command = "scroll_up"; }
      { key = "J"; command = [ "select_item" "scroll_down" ]; }
      { key = "K"; command = [ "select_item" "scroll_up" ]; }
    ];
  };
}
