mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 17:15:01 +02:00
lib/modules: init with specialArgs
helpers
This commit is contained in:
parent
491ca5cf51
commit
27c4c9c210
9 changed files with 35 additions and 49 deletions
|
@ -3,7 +3,7 @@
|
|||
config,
|
||||
options,
|
||||
lib,
|
||||
helpers,
|
||||
specialArgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -11,10 +11,7 @@ let
|
|||
|
||||
fileModuleType = types.submoduleWith {
|
||||
shorthandOnlyDefinesConfig = true;
|
||||
specialArgs = {
|
||||
inherit helpers;
|
||||
defaultPkgs = pkgs;
|
||||
};
|
||||
inherit specialArgs;
|
||||
# Don't include the modules in the docs, as that'd be redundant
|
||||
modules = lib.optionals (!config.isDocs) [
|
||||
../../.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue