marleyos/modules/home/programs/ncmpcpp/default.nix

19 lines
285 B
Nix

{
lib,
config,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.marleyos) mkEnableModule;
cfg = config.marleyos.programs.ncmpcpp;
in
{
options.marleyos = mkEnableModule "programs.ncmpcpp";
config = mkIf cfg.enable {
programs.ncmpcpp.enable = true;
};
}