all repos — nixfiles @ d3cbb0ada99c2dce5a27133092a055da78d61e98

System and user configuration, managed by nix and home-manager

add missing aider module

Alan Pearce
commit

d3cbb0ada99c2dce5a27133092a055da78d61e98

parent

606e1b9a72fd605ddffcffc0d0c23af397e1f724

1 file changed, 35 insertions(+), 0 deletions(-)

changed files
A user/settings/aider.nix
@@ -0,0 +1,35 @@
+{ config +, lib +, pkgs +, ... +}: { + home.packages = with pkgs; [ + (aider-chat.withOptional { withPlaywright = true; }) + ]; + + home.file.".aider.conf.yml" = + let + yaml = pkgs.formats.yaml { }; + in + { + source = (yaml.generate "aider.conf.yml" { + alias = [ + "general:ollama_chat/gemma3:27b" + "reason:anthropic/claude-3-7-sonnet-latest" + "editor:ollama_chat/qwen2.5-coder:32b-instruct-q8_0" + ]; + model = "reason"; + editor-model = "editor"; + light-mode = true; + gitignore = false; + check-update = false; + attribute-author = false; + attribute-committer = false; + analytics-disable = true; + }); + }; + + programs.git.ignores = [ + ".aider.*" + ]; +}