dd88dbc694
Make the `finalPackage` option public, but still read-only. The final package option is quite useful for users. For example, to integrate `lazy.nvim` with Nix there are three things that must be done: 1. `lazy.nvim` resets packpath, which should be managed by Nix; it has to be turned off with `performance.reset_packpath = false` option in `lazy.nvim` 2. Same thing applies to rtp, the relevant option is `performance.rtp.reset = false` 3. `dev.path` must be specified as the folder that contains the plugins. This folder is the path to Nix store path with Neovim plugins, and the plugins that are managed by Nix must be marked as `dev = true` The third condition can not be fulfilled without this PR, as the final package that Home Manager produces is not exposed, therefore it is impossible to extract the Nix store path. This PR makes it more accessible via ${ pkgs.vimUtils.packDir config.programs.neovim.finalPackage.passthru.packpathDirs }/pack/myNeovimPackages/start |
||
---|---|---|
.. | ||
accounts | ||
config | ||
i18n/input-method | ||
launchd | ||
lib | ||
lib-bash | ||
misc | ||
po | ||
programs | ||
services | ||
targets | ||
default.nix | ||
files.nix | ||
home-environment.nix | ||
manual.nix | ||
modules.nix | ||
systemd-activate.rb | ||
systemd-activate.sh | ||
systemd.nix | ||
xresources.nix | ||
xsession.nix |