1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 17:38:33 +02:00
home-manager/modules/programs
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
..
command-not-found treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vscode treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zsh treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
abook.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
aerc-accounts.nix aerc: cleanup unused bindings 2023-08-27 22:36:40 +02:00
aerc.nix aerc: cleanup unused bindings 2023-08-27 22:36:40 +02:00
afew.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
alacritty.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
alot-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
alot.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
antidote.nix antidote: cleanup unused bindings 2023-08-27 22:36:41 +02:00
aria2.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
astroid-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
astroid-config-template.json astroid: add module 2018-11-18 19:55:28 +01:00
astroid.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
atuin.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
autojump.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
autorandr.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
bacon.nix bacon: add module 2023-09-24 12:07:57 +02:00
bash.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
bashmount.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
bat.nix bat: allow adding custom syntaxes 2023-09-13 22:29:41 +02:00
beets.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
borgmatic.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
bottom.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
boxxy.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
broot.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
browserpass.nix browserpass: support librewolf 2023-08-15 08:42:51 +02:00
btop.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
carapace.nix carapace: add xgettext workaround 2023-09-13 23:45:50 +02:00
chromium.nix chromium: add support for dictionaries 2023-08-27 10:42:38 +02:00
comodoro.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
darcs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
dircolors.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
direnv.nix direnv: fix nushell syntax 2023-09-24 00:56:48 +02:00
discocss.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
eclipse.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
emacs.nix emacs: add version for default.el package 2023-09-08 09:00:58 +08:00
eww.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
eza.nix exa: replace with eza 2023-09-11 22:17:41 +02:00
feh.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
firefox.nix firefox: make package nullable (#4113) 2023-07-25 18:49:12 +02:00
fish.nix fish: fix session vars build in cross-compiled system (#4293) 2023-08-01 10:50:13 +02:00
foot.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
fuzzel.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
fzf.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
gallery-dl.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
getmail-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
getmail.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
gh-dash.nix gh-dash: add module 2023-07-24 12:38:44 +02:00
gh.nix gh: option to enable helper for additional hosts (#4288) 2023-08-01 01:40:37 +02:00
git-cliff.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
git-credential-oauth.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
git.nix git: replace gitToInit with lib function 2023-09-18 23:57:36 +02:00
gitui.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
gnome-terminal.nix gnome-terminal: add assertion on profile names 2023-07-29 19:43:20 +02:00
go.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
gpg.nix gpg: fix typo (#4277) 2023-07-27 18:54:08 +02:00
havoc.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
helix.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
hexchat.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
himalaya.nix himalaya: update a link to ticket 2023-08-02 11:41:17 +02:00
home-manager.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
hstr.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
htop.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
hyfetch.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
i3status-rust.nix programs.i3status-rust: reload on config change (#4466) 2023-09-18 15:25:42 +02:00
i3status.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
imv.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
info.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ion.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
irssi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
java.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
joshuto.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
jq.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
jujutsu.nix jujutsu: fix zsh completion (#4305) 2023-08-04 11:19:57 +02:00
just.nix just: simplify 2023-09-07 22:29:12 +02:00
k9s.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
kakoune.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
keychain.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
khal-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
khal-calendar-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
khal.nix programs.khal: add settings option (#4375) 2023-08-30 11:57:47 +02:00
kitty.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
kodi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lazygit.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ledger.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
less.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lesspipe.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lf.nix lf: simplify option validation (#4334) 2023-08-12 18:10:49 +02:00
librewolf.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lieer.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
looking-glass-client.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lsd.nix lsd: allow user to configure colors 2023-09-24 09:47:00 +02:00
man.nix man: fix caches generation in cross-compiled system (#4294) 2023-08-01 12:56:37 +02:00
mangohud.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
matplotlib.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mbsync-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mbsync.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mcfly.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mercurial.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
micro.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mpv.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mr.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
msmtp-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
msmtp.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mu.nix mu: add package option (#4325) 2023-08-09 18:40:43 +02:00
mujmap.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
navi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ncmpcpp.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ncspot.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ne.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
neomutt-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
neomutt.nix neomutt: fix STARTTLS 2023-09-20 17:39:23 +02:00
neovim.nix neovim: expose finalPackage 2023-09-26 08:00:52 +02:00
newsboat.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
nheko.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
nix-index.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
nnn.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
noti.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
notmuch-virtual-mailbox.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
notmuch.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
nushell.nix nushell: deprecation of let-env (#4292) 2023-08-01 19:27:30 +02:00
obs-studio.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
octant.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
offlineimap-accounts.nix offlineimap: cleanup unused bindings 2023-08-27 22:36:42 +02:00
offlineimap.nix offlineimap: cleanup unused bindings 2023-08-27 22:36:42 +02:00
oh-my-posh.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
opam.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pandoc.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
papis.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
password-store.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pazi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pet.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pidgin.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pistol.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
piston-cli.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pls.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
powerline-go.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pqiv.nix pqiv: add module 2023-08-16 17:44:54 +02:00
pubs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pyenv.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pylint.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pywal.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
qcal.nix qcal: add module 2023-08-22 18:09:05 +02:00
qutebrowser.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
rbenv.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
rbw.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
readline.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
rio.nix programs.rio: add module (#4118) 2023-09-18 22:42:22 +02:00
ripgrep.nix ripgrep: don't set env. variable if no config (#4254) 2023-07-19 18:18:40 +02:00
rofi-pass.nix rofi-pass: add package option 2023-09-19 22:24:36 +02:00
rofi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
rtorrent.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
rtx.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sagemath.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sbt.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
scmpuff.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
script-directory.nix script-directory: fix documentation link (#4258) 2023-07-20 19:52:05 +02:00
senpai.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sioyek.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
skim.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sm64ex.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sqls.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ssh.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
starship.nix starship: use use instead of source for nushell 2023-09-19 23:14:29 +02:00
swaylock.nix swaylock: document the need for host PAM configuration 2023-09-11 23:59:04 +02:00
taskwarrior.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tealdeer.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
terminator.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
termite.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
texlive.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
thunderbird.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
timidity.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tint2.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tiny.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
tmate.nix modules: types.string throws error now (#4324) 2023-08-08 17:00:24 +02:00
tmux.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
topgrade.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
translate-shell.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
urxvt.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vdirsyncer-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vdirsyncer.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vim-vint.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vim.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
vscode.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
watson.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
waybar.nix waybar: fix service After value 2023-09-19 21:39:16 +02:00
wezterm.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
wlogout.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
wofi.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xmobar.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xplr.nix xplr: add module 2023-08-15 20:26:58 +03:00
yazi.nix yazi: add fish and nushell integration 2023-09-24 00:41:14 +02:00
yt-dlp.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
z-lua.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zathura.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zellij.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zoxide.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zplug.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
zsh.nix zsh: Add zsh.history.ignoreAllDups config option (#4248) 2023-08-04 12:12:57 +02:00