added stuff

This commit is contained in:
Charlie Root 2024-04-09 23:11:33 +02:00
commit 9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions

View 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;
};
}