aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2024-09-17 12:59:04 +0200
committerAdrian Kummerlaender2024-09-17 12:59:04 +0200
commit1ba7d862ce8e2a2423199f665a0e9be13379f05f (patch)
tree1017feb20448fa9491ed8bd7dd1ca95e56d7f163
parent2d7a5127feb460f0ad78c730b3468d29829ecf76 (diff)
downloadnixos_home-1ba7d862ce8e2a2423199f665a0e9be13379f05f.tar
nixos_home-1ba7d862ce8e2a2423199f665a0e9be13379f05f.tar.gz
nixos_home-1ba7d862ce8e2a2423199f665a0e9be13379f05f.tar.bz2
nixos_home-1ba7d862ce8e2a2423199f665a0e9be13379f05f.tar.lz
nixos_home-1ba7d862ce8e2a2423199f665a0e9be13379f05f.tar.xz
nixos_home-1ba7d862ce8e2a2423199f665a0e9be13379f05f.tar.zst
nixos_home-1ba7d862ce8e2a2423199f665a0e9be13379f05f.zip
-rw-r--r--flake.lock36
-rw-r--r--gui/conf/init.el33
2 files changed, 18 insertions, 51 deletions
diff --git a/flake.lock b/flake.lock
index 5b18c50..ecf6a50 100644
--- a/flake.lock
+++ b/flake.lock
@@ -7,11 +7,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
- "lastModified": 1722503466,
- "narHash": "sha256-/uMz2fgoe15us1OufkY+cLxtPvwQ8pujIae1KpiTGCc=",
+ "lastModified": 1726537900,
+ "narHash": "sha256-kwjD+F08vvRVXCepQ5TD+HLCBkwvBF9gfM9ftFX+b0U=",
"owner": "nix-community",
"repo": "emacs-overlay",
- "rev": "835be326735bff3737320bf61cb2ae1b54a26cbd",
+ "rev": "9d338902d478ffba6a7dd0d9c2fb6151cb4b970a",
"type": "github"
},
"original": {
@@ -61,11 +61,11 @@
]
},
"locked": {
- "lastModified": 1720042825,
- "narHash": "sha256-A0vrUB6x82/jvf17qPCpxaM+ulJnD8YZwH9Ci0BsAzE=",
+ "lastModified": 1725703823,
+ "narHash": "sha256-tDgM4d8mLK0Hd6YMB2w1BqMto1XBXADOzPEaLl10VI4=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "e1391fb22e18a36f57e6999c7a9f966dc80ac073",
+ "rev": "208df2e558b73b6a1f0faec98493cb59a25f62ba",
"type": "github"
},
"original": {
@@ -97,11 +97,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1722185531,
- "narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=",
+ "lastModified": 1726243404,
+ "narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d",
+ "rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059",
"type": "github"
},
"original": {
@@ -113,11 +113,11 @@
},
"nixpkgs-stable": {
"locked": {
- "lastModified": 1722221733,
- "narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=",
+ "lastModified": 1726320982,
+ "narHash": "sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "12bf09802d77264e441f48e25459c10c93eada2e",
+ "rev": "8f7492cce28977fbf8bd12c72af08b1f6c7c3e49",
"type": "github"
},
"original": {
@@ -188,11 +188,11 @@
},
"stable": {
"locked": {
- "lastModified": 1722221733,
- "narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=",
+ "lastModified": 1726320982,
+ "narHash": "sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "12bf09802d77264e441f48e25459c10c93eada2e",
+ "rev": "8f7492cce28977fbf8bd12c72af08b1f6c7c3e49",
"type": "github"
},
"original": {
@@ -219,11 +219,11 @@
},
"unstable": {
"locked": {
- "lastModified": 1722415718,
- "narHash": "sha256-5US0/pgxbMksF92k1+eOa8arJTJiPvsdZj9Dl+vJkM4=",
+ "lastModified": 1726481836,
+ "narHash": "sha256-MWTBH4dd5zIz2iatDb8IkqSjIeFum9jAqkFxgHLdzO4=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "c3392ad349a5227f4a3464dce87bcc5046692fce",
+ "rev": "20f9370d5f588fb8c72e844c54511cab054b5f40",
"type": "github"
},
"original": {
diff --git a/gui/conf/init.el b/gui/conf/init.el
index a3a6929..5c77f51 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -564,39 +564,6 @@
ad-do-it
(message "org-tangle took %f sec" (float-time (time-subtract (current-time) time)))))
-(use-package gptel
- :ensure t
- :config
- (defvar gptel--atlas
- (gptel-make-openai "atlas"
- :stream t
- :protocol "http"
- :host "10.100.0.3:8081")
- "GPTel remote backend on atlas")
- (setq-default gptel-backend gptel--atlas)
- (setq-default gptel-max-tokens 4096)
- (defvar gptel-quick--history nil)
- (defun gptel-quick (&optional prompt)
- (interactive)
- (unless prompt
- (if (use-region-p)
- (setq prompt (buffer-substring-no-properties (region-beginning) (region-end)))
- (setq prompt (read-string "AI: "))))
- (when (string= prompt "") (user-error "Text selection or prompt is required."))
- (gptel-request
- prompt
- :callback
- (lambda (response info)
- (if (not response)
- (message "gptel-quick failed with message: %s" (plist-get info :status))
- (with-current-buffer (get-buffer-create "*gptel-quick*")
- (let ((inhibit-read-only t))
- (erase-buffer)
- (insert response))
- (special-mode)
- (switch-to-buffer "*gptel-quick*"))))))
- (evil-leader/set-key "g" 'gptel-quick))
-
(let ((mu4e-config "~/.emacs.d/email.el"))
(when (file-exists-p mu4e-config)
(load-file mu4e-config)))