plugins/packer: use gitPackage

This commit is contained in:
Austin Horstman 2024-08-29 11:22:41 -05:00
parent 4fe95d4502
commit 710f3472ec
No known key found for this signature in database
2 changed files with 14 additions and 1 deletions

View file

@ -14,6 +14,11 @@ in
plugins.packer = {
enable = mkEnableOption "packer.nvim";
gitPackage = helpers.mkPackageOption {
name = "git";
default = pkgs.git;
};
plugins =
with types;
let
@ -109,7 +114,8 @@ in
pname = "packer.nvim";
}))
];
extraPackages = [ pkgs.git ];
extraPackages = [ cfg.gitPackage ];
extraConfigLua =
let