Update flake to unstable, add chromium/opencode modules, update emacs config

This commit is contained in:
2026-03-15 01:27:58 +02:00
parent 68d2c50721
commit 07fb5656f2
12 changed files with 299 additions and 71 deletions
+21 -4
View File
@@ -6,6 +6,10 @@
#+begin_src emacs-lisp
(require 'azos-emacs-base)
(require 'azos-emacs-dev)
(require 'azos-emacs-editor)
(require 'azos-emacs-exwm)
(require 'azos-emacs-station)
#+end_src
* Lauretta specific
@@ -14,16 +18,29 @@
#+begin_src emacs-lisp
(setq
gptel-model 'meta/llama-3.1-8b-instant
gptel-model 'openai/gpt-oss-120b
gptel-backend
(gptel-make-openai "Groq"
:host "api.groq.com"
:endpoint "/openai/v1/chat/completions"
:stream t
:key "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"
:models '('meta/llama-3.1-8b-instant)))
(setq gptel-agent-dirs '("/home/aner/.agents"))
(gptel-agent-update)
:models '(openai/gpt-oss-120b)))
;; This is where I would update agents if I had them
;; (setq gptel-agent-dirs '("/home/aner/.agents"))
;; (gptel-agent-update)
(use-package agent-shell
:ensure t
:ensure-system-package
:config
;; Evil state-specific RET behavior: insert mode = newline, normal mode = send
(evil-define-key 'insert agent-shell-mode-map (kbd "RET") #'newline)
(evil-define-key 'normal agent-shell-mode-map (kbd "RET") #'comint-send-input)
(add-hook 'diff-mode-hook
(lambda ()
(when (string-match-p "\\*agent-shell-diff\\*" (buffer-name))
(evil-emacs-state)))))
#+end_src
** Headphones