40 lines
848 B
Org Mode
40 lines
848 B
Org Mode
#+title: Aner's Emacs EXWM Configuration
|
|
#+property: header-args :results silent
|
|
|
|
* Base setup
|
|
** Require
|
|
|
|
#+begin_src emacs-lisp
|
|
(require 'azos-emacs-base)
|
|
#+end_src
|
|
|
|
* Lauretta specific
|
|
|
|
** LLM
|
|
|
|
#+begin_src emacs-lisp
|
|
(use-package gptel
|
|
:config
|
|
(setq
|
|
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 '("openai/gpt-oss-120b")))
|
|
:hook
|
|
(gptel-mode . (lambda ()
|
|
(setq-local whitespace-style '(face tabs trailing tab-mark
|
|
indentation))))
|
|
)
|
|
#+end_src
|
|
|
|
* Provide
|
|
|
|
#+begin_src emacs-lisp
|
|
(provide 'azos-emacs-lauretta)
|
|
(add-hook 'after-init-hook (lambda () (require 'azos-emacs-lauretta)))
|
|
#+end_src
|