2023-02-01 20:11:37 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
check ? true,
|
|
|
|
}: let
|
|
|
|
modules = [
|
|
|
|
./completion
|
|
|
|
./theme
|
|
|
|
./core
|
|
|
|
./basic
|
|
|
|
./statusline
|
|
|
|
./tabline
|
|
|
|
./filetree
|
|
|
|
./visuals
|
|
|
|
./lsp
|
|
|
|
./treesitter
|
|
|
|
./autopairs
|
|
|
|
./snippets
|
|
|
|
./git
|
2023-02-01 22:01:21 +01:00
|
|
|
./minimap
|
2023-02-03 08:38:10 +01:00
|
|
|
./dashboard
|
2023-02-03 23:46:34 +01:00
|
|
|
./utility
|
2023-02-27 20:29:46 +01:00
|
|
|
./rich-presence
|
2023-02-05 22:57:47 +01:00
|
|
|
./notes
|
2023-02-06 00:44:38 +01:00
|
|
|
./terminal
|
2023-02-06 01:55:19 +01:00
|
|
|
./ui
|
2023-02-06 02:14:01 +01:00
|
|
|
./assistant
|
2023-02-06 03:26:52 +01:00
|
|
|
./session
|
2023-02-16 21:32:46 +01:00
|
|
|
./comments
|
2023-04-07 19:36:16 +02:00
|
|
|
./projects
|
2023-04-17 22:27:27 +02:00
|
|
|
./languages
|
2023-02-01 20:11:37 +01: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]
|