neovim-flake/modules/modules.nix

41 lines
634 B
Nix
Raw Normal View History

{
pkgs,
lib,
check ? true,
}: let
modules = [
./completion
./theme
./core
./basic
./statusline
./tabline
./filetree
./visuals
./lsp
./treesitter
./tidal
./autopairs
./snippets
./binds
./markdown
./telescope
./git
2023-02-01 22:01:21 +01:00
./minimap
2023-02-03 08:38:10 +01:00
./dashboard
./notifications
./utility
2023-02-05 21:56:40 +01:00
./presence
];
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]