Skip to content

Commit

Permalink
feat(neovim): Switch to copilot in Avante plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Mar 2, 2025
1 parent 7a372cd commit 215f070
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion darwinConfigurations/profiles/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
nixpkgs.config.allowUnfreeRedistributable = true;

# Enable Touch ID for sudo
security.pam.enableSudoTouchIdAuth = true;
security.pam.services.sudo_local.touchIdAuth = true;

homebrew.enable = true;
homebrew.casks = [
Expand Down
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
inputs.catppuccin-lazygit.flake = false;

inputs.ghostty.url = "github:ghostty-org/ghostty/v1.1.2";
inputs.flox.url = "github:flox/flox/v1.3.15";
#inputs.flox.url = "github:flox/flox/v1.3.15";
inputs.flox.url = "github:flox/flox/release-1.3.16";
inputs.devenv.url = "github:cachix/devenv/v1.4.1";

# Custom vim/neovim plugins
Expand Down
18 changes: 9 additions & 9 deletions homeConfigurations/profiles/common_neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -609,15 +609,15 @@
require('avante').setup({
-- See https://github.com/yetone/avante.nvim/blob/main/lua/avante/config.lua
provider = 'claude',
claude = {
api_key_name = "cmd:echo $ANTROPIC_API_KEY",
},
auto_suggestions_provider = 'claude',
--provider = 'openai',
--auto_suggestions_provider = 'openai',
--provider = 'copilot',
--auto_suggestions_provider = 'copilot',
-- provider = 'claude',
-- claude = {
-- api_key_name = "cmd:echo $ANTROPIC_API_KEY",
-- },
-- auto_suggestions_provider = 'claude',
-- provider = 'openai',
-- auto_suggestions_provider = 'openai',
provider = 'copilot',
auto_suggestions_provider = 'copilot',
file_selector = {
provider = "telescope",
Expand Down

0 comments on commit 215f070

Please sign in to comment.