mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
modules/dependencies: add git
This commit is contained in:
parent
30c4d00b72
commit
9abe8fd025
26 changed files with 179 additions and 149 deletions
|
|
@ -74,13 +74,13 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
"enable"
|
||||
]
|
||||
) "yadm support was removed upstream.")
|
||||
];
|
||||
|
||||
extraOptions = {
|
||||
gitPackage = lib.mkPackageOption pkgs "git" {
|
||||
nullable = true;
|
||||
};
|
||||
};
|
||||
# TODO: added 2025-04-06, remove after 25.05
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
plugin = "gitsigns";
|
||||
packageName = "git";
|
||||
})
|
||||
];
|
||||
|
||||
settingsOptions = import ./settings-options.nix lib;
|
||||
|
||||
|
|
@ -112,6 +112,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
'';
|
||||
};
|
||||
|
||||
extraPackages = [ cfg.gitPackage ];
|
||||
dependencies.git.enable = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue