From ce05d9398d0df62c00888474e28026819defcd62 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 3 Jan 2026 11:07:35 -0800 Subject: configure aider and emacs properly Use anthropic's models and set the API key. --- home/programs/aider.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'home/programs/aider.nix') diff --git a/home/programs/aider.nix b/home/programs/aider.nix index 3493f42..4c52742 100644 --- a/home/programs/aider.nix +++ b/home/programs/aider.nix @@ -4,18 +4,16 @@ aider-chat ]; - home.sessionVariables = { - OLLAMA_API_BASE = "http://rivendell:11434"; - AIDER_ANALYTIC = "false"; - AIDER_ANALYTICS_DISABLE = "true"; - AIDER_ATTRIBUTE_AUTHO = "false"; - AIDER_AUTO_COMMITS = "false"; - AIDER_CHECK_UPDATE = "false"; - AIDER_SHOW_DIFFS = "true"; - AIDER_SUBTREE_ONLY = "true"; + programs.git = { + ignores = [ ".aider*" ]; }; - programs.fish.shellAliases = { - laider = "aider --model ollama_chat/qwen3:8b"; + xdg.configFile."aider/config.yml".text = pkgs.lib.generators.toYAML { } { + model = "anthropic/claude-sonnet-4-5"; + weak-model = "anthropic/claude-3-5-haiku"; + attribute-author = false; + attribute-committer = false; + analytics-disable = true; + check-update = false; }; } -- cgit v1.2.3