neovim-flake/modules/modules.nix

44 lines
672 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
./markdown
./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
];
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]