mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
misc: refactor helpers propagation
Co-authored-by: Robert Hensing <robert@roberthensing.nl>
This commit is contained in:
parent
3bbb3d5453
commit
5d3ed3a09e
12 changed files with 100 additions and 40 deletions
|
@ -1,4 +1,7 @@
|
|||
modules: {
|
||||
{
|
||||
modules,
|
||||
helpers,
|
||||
}: {
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
|
@ -20,7 +23,7 @@ in {
|
|||
check = builtins.isAttrs;
|
||||
};
|
||||
description = "Use this option to access the helpers";
|
||||
default = import ../plugins/helpers.nix {inherit (pkgs) lib;};
|
||||
default = helpers;
|
||||
};
|
||||
|
||||
configFiles = let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue