mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
modules/dependencies: add git
This commit is contained in:
parent
30c4d00b72
commit
9abe8fd025
26 changed files with 179 additions and 149 deletions
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
|
@ -10,17 +9,11 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
extraOptions = {
|
||||
gitPackage = lib.mkPackageOption pkgs "git" {
|
||||
nullable = true;
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
extraPackages = [
|
||||
cfg.gitPackage
|
||||
];
|
||||
dependencies.curl.enable = lib.mkDefault true;
|
||||
dependencies = {
|
||||
curl.enable = lib.mkDefault true;
|
||||
git.enable = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
|
||||
settingsExample = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue