added ncmpcpp

This commit is contained in:
Charlie Root 2024-04-13 00:15:21 +02:00
commit ef91a2a87c
8 changed files with 641 additions and 21 deletions

18
modules/tui/ncmpcpp.nix Normal file
View file

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
with lib; let
cfg = config.myOptions.programs.ncmpcpp
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.ncmpcpp.enable = mkEnableOption "ncmpcpp";
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.ncmpcpp = {
enable = true;
mpdMusicDir = "/home/vali/Nextcloud/Media/Music";
xdg.configFile."ncmpcpp/config".source = ./config;
};
};
};
}