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; [ home.packages = with pkgs; [
codeium
nixd nixd
clang-tools clang-tools
llvmPackages.libcxxClang llvmPackages.libcxxClang

View File

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

View File

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

View File

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