helm/modules/shell/ncmpcpp.nix
2020-01-12 18:20:28 -05:00

20 lines
480 B
Nix

{ config, lib, pkgs, ... }:
{
my.packages = with pkgs; [
(ncmpcpp.override { visualizerSupport = true; })
];
my.env.MPD_HOME = "$XDG_CONFIG_HOME/mpd";
my.env.NCMPCPP_HOME = "$XDG_CONFIG_HOME/ncmpcpp";
my.alias.rate = "mpd-rate";
my.alias.mpcs = "mpc search any";
my.alias.mpcsp = "mpc searchplay any";
my.home.xdg.configFile = {
"ncmpcpp/config".source = <my/config/ncmpcpp/config>;
"ncmpcpp/bindings".source = <my/config/ncmpcpp/bindings>;
};
}