You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Config Options** - `lazypath`: the default lazypath. Must be set in plugin
108
+
**Config Options** - `lazypath`: the default lazypath. must be set in plugin
108
109
config - `friendly_plugin_names`: when set to `true` provides less-strict
109
110
plugin name matching for get_plugin_path(): + not case sensitive + treats `-`
110
111
and `_` as identical + add or subtracts `.nvim` from the plugin name as needed
111
112
112
-
in most cases setting this to true will make updating your configuration much
113
-
easier. if there is a plugin name collision with these rules applied then
113
+
if there is a plugin name collision with these rules applied then
114
114
lazy-nix-helper will thrown an error. in that case you will have to set this
115
115
option to false and match plugin names exactly.
116
116
117
+
- `auto_plugin_discovery`: when set to `true` enables the automatic plugin discovery originally included in Lazy-Nix-Helper. the automatic plugin discovery is a nix anti-pattern and only works for a subset of nix/nixos use cases and config arrangements. this option has been left in place to let early adopters of Lazy-Nix-Helper keep their original configuration, but it should be set to `false` for all new configurations
118
+
- `input_plugin_table`: the plugin table mapping plugin names to plugin paths generated by your nix config. instructions for generating this table are provided in the NixOS Configuration section
119
+
117
120
**Lazy-Nix-Helper’s own Nix Store Path**
118
121
119
122
The nix store path for the Lazy-Nix-Helper plugin itself cannot be provided by
@@ -170,8 +173,14 @@ Lazy-Nix-Helper `setup()` function - set the lazypath using Lazy-Nix-Helper
170
173
Update the configuration as follows:
171
174
172
175
>lua
173
-
-- See the NixOS Configuration section for more details
176
+
-- THIS PLUGIN LIST SHOULD BE GENERATED BY YOUR NIX CONFIG. See the NixOS Configuration section for more details on plugins table and lazy_nix_helper_path
Besides Lazy-Nix-Helper there are other tools and strategies you might choose
453
466
to manage your neovim configuration under NixOS:
454
467
468
+
469
+
NIX-BASED SOLUTIONS ~
470
+
455
471
- Home-Manager <https://nix-community.github.io/home-manager/> provides options for installing and configuring neovim plugins
456
472
- NixVim <https://github.com/nix-community/nixvim/> is a neovim distribution built around Nix modules. It provides nix-style configuration options for every neovim configuration option as well as options for many plugins
457
-
- Using your existing config as-is. Depending on how complicated your current config is and what it includes, you may be able to copy your dotfiles and have everything work out of the box. The main downside is that you lose the reproducability benefits of nix by using a different package manager
473
+
474
+
### Prebuilt flakes TODO: include some examples
475
+
476
+
### Non-nix - Using your existing config as-is. Depending on how complicated
477
+
your current config is and what it includes, you may be able to copy your
478
+
dotfiles and have everything work out of the box. The main downside is that you
479
+
lose the reproducability benefits of nix by using a different package manager
0 commit comments