1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-26 03:19:49 +01:00
neovim-flake/modules/modules.nix

45 lines
691 B
Nix
Raw 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 22:01:21 +01:00
./minimap
2023-02-03 08:38:10 +01:00
./dashboard
./utility
2023-02-27 20:29:46 +01:00
./rich-presence
./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
./session
./comments
2023-04-07 19:36:16 +02:00
./projects
./languages
2023-05-04 17:41:11 +02: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]