Try codeium

This commit is contained in:
Thomas Avé 2024-09-25 23:07:14 +02:00
parent c54fc573bf
commit 00df4a21be
4 changed files with 25 additions and 18 deletions

View File

@ -2,6 +2,7 @@
{
home.packages = with pkgs; [
codeium
nixd
clang-tools
llvmPackages.libcxxClang

View File

@ -0,0 +1,3 @@
return {
"Exafunction/codeium.vim"
}

View File

@ -1,18 +1,19 @@
return {
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
opts = {
suggestion = {
auto_trigger = true,
auto_refresh = true,
keymap = {
accept = "<leader><Tab>",
},
},
filetypes = {
markdown = true,
tex = true,
}
}
}
return {}
-- return {
-- "zbirenbaum/copilot.lua",
-- cmd = "Copilot",
-- event = "InsertEnter",
-- opts = {
-- suggestion = {
-- auto_trigger = true,
-- auto_refresh = true,
-- keymap = {
-- accept = "<leader><Tab>",
-- },
-- },
-- filetypes = {
-- markdown = true,
-- tex = true,
-- }
-- }
-- }

View File

@ -18,6 +18,8 @@ in {
boot.initrd.kernelModules = [ "amdgpu" ];
services.logind.extraConfig = ''HandlePowerKey=suspend'';
programs.nix-ld.enable = true;
# Virtualization
virtualisation.libvirtd.enable = true;
virtualisation.spiceUSBRedirection.enable = true;