home-manager/modules
KFears dd88dbc694
neovim: expose finalPackage
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
2023-09-26 08:00:52 +02:00
..
accounts accounts.email: fix runbox.com TLS setup (#4408) 2023-09-04 22:29:18 +02:00
config home-cursor: remove IFD when linking icon directories 2023-08-22 08:22:24 +02:00
i18n/input-method treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
launchd treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lib bacon: add module 2023-09-24 12:07:57 +02:00
lib-bash home-manager: verify username and home directory 2023-05-27 09:14:05 +02:00
misc bacon: add module 2023-09-24 12:07:57 +02:00
po Add translation using Weblate (Thai) 2023-09-20 06:38:48 +00:00
programs neovim: expose finalPackage 2023-09-26 08:00:52 +02:00
services programs.sway: separate trayOutput values for sway (#4489) 2023-09-23 20:53:45 +02:00
targets treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
default.nix Add lib argument to homeManagerConfiguration (#2753) 2022-04-17 18:14:41 -04:00
files.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
home-environment.nix home-manager: handle profile list in Nix >2.17 2023-08-13 01:18:17 +02:00
manual.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
modules.nix bacon: add module 2023-09-24 12:07:57 +02:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xresources.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xsession.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00