mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
modules/dependencies: add git
This commit is contained in:
parent
30c4d00b72
commit
9abe8fd025
26 changed files with 179 additions and 149 deletions
|
@ -37,6 +37,14 @@ let
|
|||
lazyPath = pkgs.linkFarm "lazy-plugins" processedPlugins;
|
||||
in
|
||||
{
|
||||
# TODO: added 2025-04-06, remove after 25.05
|
||||
imports = [
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
plugin = "lazy";
|
||||
packageName = "git";
|
||||
})
|
||||
];
|
||||
|
||||
options = {
|
||||
plugins.lazy = {
|
||||
enable = mkEnableOption "lazy.nvim";
|
||||
|
@ -46,10 +54,6 @@ in
|
|||
"lazy-nvim"
|
||||
] { };
|
||||
|
||||
gitPackage = lib.mkPackageOption pkgs "git" {
|
||||
nullable = true;
|
||||
};
|
||||
|
||||
plugins =
|
||||
with types;
|
||||
let
|
||||
|
@ -162,7 +166,7 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
extraPlugins = [ cfg.package ];
|
||||
|
||||
extraPackages = [ cfg.gitPackage ];
|
||||
dependencies.git.enable = lib.mkDefault true;
|
||||
|
||||
extraConfigLua =
|
||||
let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue