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