2023-02-01 19:11:37 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
check ? true,
|
|
|
|
}: let
|
|
|
|
modules = [
|
|
|
|
./completion
|
|
|
|
./theme
|
|
|
|
./core
|
|
|
|
./basic
|
|
|
|
./statusline
|
|
|
|
./tabline
|
|
|
|
./filetree
|
|
|
|
./visuals
|
|
|
|
./lsp
|
|
|
|
./treesitter
|
|
|
|
./tidal
|
|
|
|
./autopairs
|
|
|
|
./snippets
|
2023-02-03 22:46:34 +00:00
|
|
|
./binds
|
2023-02-01 19:11:37 +00:00
|
|
|
./markdown
|
|
|
|
./telescope
|
|
|
|
./git
|
2023-02-01 21:01:21 +00:00
|
|
|
./minimap
|
2023-02-03 07:38:10 +00:00
|
|
|
./dashboard
|
2023-02-03 21:20:20 +00:00
|
|
|
./notifications
|
2023-02-03 22:46:34 +00:00
|
|
|
./utility
|
2023-02-05 20:56:40 +00:00
|
|
|
./presence
|
2023-02-05 21:57:47 +00:00
|
|
|
./notes
|
2023-02-01 19:11:37 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pkgsModule = {config, ...}: {
|
|
|
|
config = {
|
|
|
|
_module.args.baseModules = modules;
|
|
|
|
_module.args.pkgsPath = lib.mkDefault pkgs.path;
|
|
|
|
_module.args.pkgs = lib.mkDefault pkgs;
|
|
|
|
_module.check = check;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
modules ++ [pkgsModule]
|