mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-31 15:30:27 +02:00
Enable creation of other config files than init.lua (#246)
This commit is contained in:
parent
bc468178ae
commit
a6eec507cc
8 changed files with 283 additions and 115 deletions
|
@ -6,8 +6,13 @@ default_pkgs: modules: {
|
|||
|
||||
wrap = {wrapRc = true;};
|
||||
|
||||
shared = import ./_shared.nix modules {
|
||||
inherit pkgs lib;
|
||||
config = {};
|
||||
};
|
||||
|
||||
eval = lib.evalModules {
|
||||
modules = (modules pkgs) ++ [module wrap];
|
||||
modules = [module wrap] ++ shared.topLevelModules;
|
||||
};
|
||||
|
||||
handleAssertions = config: let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue