nvf/modules/modules.nix

45 lines
691 B
Nix
Raw Permalink Normal View History

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