Commit 0571e2cf3639

Vincent Demeester <vincent@sbr.pm>
2025-06-25 16:33:47
home: prepare configuring aichat
I *need* to figure out secrets though… Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 30277fb
Changed files (1)
home
common
home/common/dev/ai.nix
@@ -1,5 +1,21 @@
 { pkgs, ... }:
 {
+  programs.aichat = {
+    # enable = true;
+    settings = {
+      model = "gemini:gemini-2.5-flash-preview-04-17";
+      wrap = 150;
+      save_session = true;
+      clients = [
+        {
+          type = "gemini";
+          name = "gemini";
+          api_base = "";
+          # api_key = "passage:ai/gemini/api_key";
+        }
+      ];
+    };
+  };
   home.packages = with pkgs; [
     aichat
     aider-chat