mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-30 12:24:28 +02:00
plugins/packer: use gitPackage
This commit is contained in:
parent
4fe95d4502
commit
710f3472ec
2 changed files with 14 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue