NixOS-Config/modules/home/programs/terminal/ncmpcpp/default.nix

21 lines
452 B
Nix

{ pkgs, ... }:
{
programs.ncmpcpp = {
enable = true;
settings = {
browser_sort_mode = "name";
user_interface = "alternative";
};
bindings = [
{ key = "h"; command = "volume_down"; }
{ key = "j"; command = "scroll_down"; }
{ key = "k"; command = "scroll_up"; }
{ key = "l"; command = "volume_up"; }
];
};
services.mpd-discord-rpc.enable = true;
home.packages = with pkgs; [ mpc-cli ];
}