mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-31 15:30:27 +02:00
modules: refactor module bootstrapping
Let's simplify things by defining all modules in `./plugins`, `./modules` and `./wrappers/modules`. Instead of currying `pkgs` into a bootstrapping module, we can require `defaultPkgs` be provided as a special arg. This refactor allows us to completely remove `flake-modules/modules.nix`!
This commit is contained in:
parent
3d96960348
commit
d2afb176ff
16 changed files with 129 additions and 159 deletions
|
@ -3,13 +3,12 @@
|
|||
{
|
||||
pkgsUnfree,
|
||||
config,
|
||||
rawModules,
|
||||
helpers,
|
||||
...
|
||||
}:
|
||||
{
|
||||
packages = import ../docs {
|
||||
inherit rawModules helpers;
|
||||
inherit helpers;
|
||||
# Building the docs evaluates each plugin's default package, some of which are unfree
|
||||
pkgs = pkgsUnfree;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue