aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2025-12-12 13:11:38 +0100
committerAdrian Kummerlaender2025-12-12 13:11:38 +0100
commit07f77a6ba05e5fc4b72ca47a43acc4ed0e2d4495 (patch)
treea8cc3b2b715dbdc73900a1b1b70880684331aa2d /gui/conf
parentef560bb1d546766e64b666b16377c3b06d4c1ce1 (diff)
downloadnixos_home-07f77a6ba05e5fc4b72ca47a43acc4ed0e2d4495.tar
nixos_home-07f77a6ba05e5fc4b72ca47a43acc4ed0e2d4495.tar.gz
nixos_home-07f77a6ba05e5fc4b72ca47a43acc4ed0e2d4495.tar.bz2
nixos_home-07f77a6ba05e5fc4b72ca47a43acc4ed0e2d4495.tar.lz
nixos_home-07f77a6ba05e5fc4b72ca47a43acc4ed0e2d4495.tar.xz
nixos_home-07f77a6ba05e5fc4b72ca47a43acc4ed0e2d4495.tar.zst
nixos_home-07f77a6ba05e5fc4b72ca47a43acc4ed0e2d4495.zip
Update to 25.11, manually pull in deprecated stuff for emacswayland
I do not understand why helm-ag and helm-sweep were removed in MELPA… They work perfectly fine.
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/init.el23
-rw-r--r--gui/conf/metakr.org12
-rw-r--r--gui/conf/niri.kdl5
3 files changed, 35 insertions, 5 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index af4bd71..b543c6b 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -492,6 +492,9 @@
:init
(projectile-mode))
+(use-package ag
+ :ensure t)
+
(use-package helm-ag
:ensure t)
@@ -603,6 +606,9 @@
ad-do-it
(message "org-tangle took %f sec" (float-time (time-subtract (current-time) time)))))
+(use-package gptel
+ :ensure t)
+
(let ((mu4e-config "~/.emacs.d/email.el"))
(when (file-exists-p mu4e-config)
(load-file mu4e-config)))
@@ -614,4 +620,21 @@
(use-package envrc
:ensure t)
+(use-package gptel
+ :ensure t
+ :config
+ (defun read-file-contents (file-path)
+ "Read the contents of FILE-PATH and return it as a string."
+ (with-temp-buffer
+ (insert-file-contents file-path)
+ (buffer-string)))
+ (defun gptel-api-key ()
+ (read-file-contents "~/.kit-ai-api"))
+ (setq gptel-backend (gptel-make-openai "KIT-Toolbox"
+ :host "ki-toolbox.scc.kit.edu"
+ :endpoint "/api/v1/chat/completions"
+ :stream t
+ :key #'gptel-api-key
+ :models '("azure.gpt-5"))))
+
(envrc-global-mode)
diff --git a/gui/conf/metakr.org b/gui/conf/metakr.org
index 29643cf..16c9717 100644
--- a/gui/conf/metakr.org
+++ b/gui/conf/metakr.org
@@ -83,8 +83,8 @@ For quick iteration all colors are stored in a table.
| org-tag | #E4E093 |
| org-block-line | #161616 |
| org-block-bg | #080808 |
-| org-agenda-structure-fg | #aaaaaa |
-| org-agenda-structure-bg | #080808 |
+| org-agenda-structure-fg | #000000 |
+| org-agenda-structure-bg | #F2F2F2 |
| org-agenda-today-fg | #dddddd |
| org-agenda-today-bg | #000000 |
| org-special-keyword | #777777 |
@@ -335,9 +335,11 @@ For quick iteration all colors are stored in a table.
:weight normal)
(org-agenda-structure
:foreground @org-agenda-structure-fg
- :background @bg
- :box (:line-width 3 :color @bg)
- :underline @org-agenda-structure-bg)
+ :background @org-agenda-structure-bg)
+ ;(org-agenda-structural-header
+ ; :inherit fixed-pitch
+ ; :weight bold
+ ; :foreground @org-todo)
(org-scheduled
:foreground @org-scheduled)
(org-scheduled-today
diff --git a/gui/conf/niri.kdl b/gui/conf/niri.kdl
index f795bcb..3741a60 100644
--- a/gui/conf/niri.kdl
+++ b/gui/conf/niri.kdl
@@ -13,6 +13,11 @@ output "eDP-1" {
scale 1
}
+output "HDMI-1" {
+ mode "1920x1080"
+ scale 1
+}
+
input {
keyboard {
xkb {