modules: pass extraPackages to wrapper PATH

This commit is contained in:
raf 2024-04-21 03:21:48 +03:00
commit 2f4dcafaa3
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
2 changed files with 27 additions and 4 deletions

View file

@ -94,6 +94,16 @@ in {
'';
};
extraPackages = mkOption {
type = listOf package;
default = [];
example = literalExpression ''[pkgs.fzf pkgs.ripgrep]'';
description = ''
List of additional packages to make available to the Neovim
wrapper.
'';
};
# this defaults to `true` in the wrapper
# and since we passs this value to the wrapper
# with an inherit, it should be `true` here as well