helm/modules/shell/ncmpcpp.nix

20 lines
480 B
Nix
Raw Normal View History

2019-08-06 10:56:54 -07:00
{ config, lib, pkgs, ... }:
{
2020-01-12 15:17:17 -08:00
my.packages = with pkgs; [
2019-08-06 10:56:54 -07:00
(ncmpcpp.override { visualizerSupport = true; })
];
2020-01-12 15:17:17 -08:00
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>;
2019-08-06 10:56:54 -07:00
};
}