2024-01-01 21:50:06 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2024-12-22 09:58:27 +00:00
|
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
2024-09-03 21:23:27 -05:00
|
|
|
name = "codeium-nvim";
|
2024-12-13 08:27:14 -06:00
|
|
|
packPathName = "codeium.nvim";
|
2024-12-13 08:28:39 -06:00
|
|
|
moduleName = "codeium";
|
2024-09-03 21:23:27 -05:00
|
|
|
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
GaetanLepage
|
|
|
|
khaneliman
|
|
|
|
];
|
|
|
|
|
|
|
|
# TODO: added 2024-09-03 remove after 24.11
|
2025-04-11 14:56:13 +02:00
|
|
|
inherit (import ./deprecations.nix) deprecateExtraOptions optionsRenamedToSettings;
|
2024-01-01 21:50:06 +01:00
|
|
|
|
2024-09-03 21:23:27 -05:00
|
|
|
# Register nvim-cmp association
|
|
|
|
imports = [
|
|
|
|
{ cmpSourcePlugins.codeium = "codeium-nvim"; }
|
|
|
|
];
|
|
|
|
|
|
|
|
settingsExample = lib.literalExpression ''
|
|
|
|
{
|
|
|
|
enable_chat = true;
|
|
|
|
tools = {
|
|
|
|
curl = lib.getExe pkgs.curl;
|
|
|
|
gzip = lib.getExe pkgs.gzip;
|
|
|
|
uname = lib.getExe' pkgs.coreutils "uname";
|
|
|
|
uuidgen = lib.getExe' pkgs.util-linux "uuidgen";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
'';
|
2024-01-01 21:50:06 +01:00
|
|
|
}
|