mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-30 15:44:41 +02:00
modules/dependencies: add cornelis
This commit is contained in:
parent
96ebd63330
commit
e866ddf5ce
2 changed files with 11 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ lib, ... }:
|
||||
let
|
||||
inherit (lib.nixvim) defaultNullOpts;
|
||||
in
|
||||
|
@ -8,14 +8,16 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
extraOptions = {
|
||||
cornelisPackage = lib.mkPackageOption pkgs "cornelis" {
|
||||
nullable = true;
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
# TODO: added 2025-04-07, remove after 25.05
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
plugin = "cornelis";
|
||||
packageName = "cornelis";
|
||||
})
|
||||
];
|
||||
|
||||
extraConfig = cfg: {
|
||||
extraPackages = [ cfg.cornelisPackage ];
|
||||
extraConfig = {
|
||||
dependencies.cornelis.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
settingsOptions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue