mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-01 04:44:31 +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 = {
|
plugins.packer = {
|
||||||
enable = mkEnableOption "packer.nvim";
|
enable = mkEnableOption "packer.nvim";
|
||||||
|
|
||||||
|
gitPackage = helpers.mkPackageOption {
|
||||||
|
name = "git";
|
||||||
|
default = pkgs.git;
|
||||||
|
};
|
||||||
|
|
||||||
plugins =
|
plugins =
|
||||||
with types;
|
with types;
|
||||||
let
|
let
|
||||||
|
@ -109,7 +114,8 @@ in
|
||||||
pname = "packer.nvim";
|
pname = "packer.nvim";
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
extraPackages = [ pkgs.git ];
|
|
||||||
|
extraPackages = [ cfg.gitPackage ];
|
||||||
|
|
||||||
extraConfigLua =
|
extraConfigLua =
|
||||||
let
|
let
|
||||||
|
|
|
@ -135,4 +135,11 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
no-packages = {
|
||||||
|
plugins.packer = {
|
||||||
|
enable = true;
|
||||||
|
gitPackage = null;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue