From d74d4e356616c7d4a2bd9f85d60e3315c50bb1ae Mon Sep 17 00:00:00 2001 From: KnightArtorias Date: Thu, 23 Jul 2026 16:27:31 -0400 Subject: [PATCH] Add aider to crow --- flake.lock | 18 +++++++++--------- modules/hosts/crow/configuration.nix | 10 +++++++++- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index a5fd1d5..b4f7e90 100644 --- a/flake.lock +++ b/flake.lock @@ -9,11 +9,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1783003291, - "narHash": "sha256-BYXGP1e9WDEPse3Ux6KoxW/v8KIJJLR+fn1cw3CIZ/Y=", + "lastModified": 1783689476, + "narHash": "sha256-Ac4EGPZr9e+mPUdmavJFSTft4vgoXml40+YOFYKTXPg=", "owner": "ezKEa", "repo": "aagl-gtk-on-nix", - "rev": "4e8fc67bd94f4376aa455833fc5aa68b0731549d", + "rev": "af94408291ad477cae8eed964981ab41f90eb184", "type": "github" }, "original": { @@ -58,11 +58,11 @@ }, "import-tree": { "locked": { - "lastModified": 1778781969, - "narHash": "sha256-Jjuz5CmSkur8KvLDoGa+vylEp+RkQtv4mt/qcMznpH0=", + "lastModified": 1784254960, + "narHash": "sha256-iI88R3wHz8wTKQb5orvpc51L/Xr64AJyxid/0MKa/b8=", "owner": "vic", "repo": "import-tree", - "rev": "d321337efd0f23a9eb14a42adb7b2c29313ab274", + "rev": "4ebb10ae17d5f1ad366e7aef5b92cb8eecf24f69", "type": "github" }, "original": { @@ -73,11 +73,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1783224372, - "narHash": "sha256-8i/87eeoqiGE4yOTjwSA3Eh/ziJRQEmd/unYU+K27sk=", + "lastModified": 1784497964, + "narHash": "sha256-vlHUuqAcbcH2RKmHbPiuQzbv1pnzzavXnI62RD0bqCU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d407951447dcd00442e97087bf374aad70c04cea", + "rev": "241313f4e8e508cb9b13278c2b0fa25b9ca27163", "type": "github" }, "original": { diff --git a/modules/hosts/crow/configuration.nix b/modules/hosts/crow/configuration.nix index 0f839bb..3fe0617 100644 --- a/modules/hosts/crow/configuration.nix +++ b/modules/hosts/crow/configuration.nix @@ -39,6 +39,7 @@ easyeffects openssl jq + aider-chat # Wrap Element so it knows where gnome-libsecret is # Additionally, override the config to disable legacy call protocol @@ -75,6 +76,13 @@ }) ]; + environment.variables = { + OLLAMA_API_BASE = "http://127.0.0.1:11434"; + AIDER_MODEL = "ollama/qwen2.5-coder:32b"; + AIDER_AUTO_COMMITS = "false"; + AIDER_DARK_MODE = "true"; + }; + nixpkgs.overlays = [ # Open LDAP currently has a problem # with one of the tests. Just disable it @@ -105,7 +113,7 @@ environmentVariables = { HSA_OVERRIDE_GFX_VERSION = "10.3.0"; }; - loadModels = [ "deepseek-r1:32b" "qwen3.5:14b" ]; + loadModels = [ "qwen3.5:14b" ]; }; services.open-webui = {