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