feat(ncmpcpp): Install ncmpcpp

Added an overlay to enable visualizer support!!!!!!
This commit is contained in:
punkfairie 2024-11-02 13:35:23 -07:00
parent be6ed2dbea
commit 2433e04e99
Signed by: punkfairie
GPG key ID: 01823C057725C266
2 changed files with 23 additions and 0 deletions

View file

@ -41,6 +41,7 @@
./lazygit
./less
./man
./ncmpcpp
./syncthing
./tmux
./wget

22
home/ncmpcpp/default.nix Normal file
View file

@ -0,0 +1,22 @@
{...}: {
nixpkgs.overlays = [
(final: prev: {
ncmpcpp = prev.ncmpcpp.override {
visualizerSupport = true;
};
})
];
programs.ncmpcpp = {
enable = true;
settings = {
visualizer_data_source = "/tmp/mpd.fifo";
visualizer_output_name = "my_fifo";
visualizer_in_stereo = "yes";
visualizer_type = "spectrum";
visualizer_look = "+|";
visualizer_spectrum_smooth_look = "yes";
};
};
}