added stuff
This commit is contained in:
parent
e8d9044d2b
commit
9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions
28
nyx/homes/notashelf/programs/media/ncmpcpp/default.nix
Normal file
28
nyx/homes/notashelf/programs/media/ncmpcpp/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
osConfig,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (osConfig) modules;
|
||||
|
||||
env = modules.usrEnv;
|
||||
prg = env.programs;
|
||||
in {
|
||||
imports = [./binds.nix ./settings.nix];
|
||||
|
||||
config.programs.ncmpcpp = mkIf prg.media.ncmpcpp.enable {
|
||||
enable = true;
|
||||
|
||||
# provide visualisier support for ncmpcpp
|
||||
# it will optionally display a visualiser in the terminal
|
||||
# if the mpd server is configured to write the visualiser
|
||||
# mipe - e.g. /tmp/mpd.fifo
|
||||
package = pkgs.ncmpcpp.override {visualizerSupport = true;};
|
||||
|
||||
# look for music tracks inside mpd's music directory
|
||||
mpdMusicDir = config.services.mpd.musicDirectory;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue