modules/dependencies: init + add curl

This commit is contained in:
Gaetan Lepage 2025-04-06 17:17:51 +02:00 committed by nix-infra-bot
parent 33c3f98fdc
commit cfd4b61262
11 changed files with 97 additions and 28 deletions

View file

@ -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 = {