adopt: config-mac.el -- ownership note, elixir server, blog roots

Pure additions (18 lines, no deletions) on top of upstream's config-mac.el:

- header note that the file is seeded from 0789326 and is now owned here,
  so re-syncing it with `git checkout mac/master -- config-mac.el' is no
  longer safe
- the eglot entry for elixir-ts-mode that was hard-coded in the Linux repo's
  shared config.el as /Users/willem/.elixir-ls/...  It belongs on the mac
  side; the Linux counterpart is in config-linux.el
- blog export roots, with ~/MyDocuments/... as on macOS

This file only loads on darwin, so nothing changes for the Linux machine.
This commit is contained in:
Willem van den Ende
2026-11-03 12:32:53 +00:00
parent c2f24ba1cb
commit b703ccb4b0
+18
View File
@@ -1,5 +1,10 @@
;;; config-mac.el --- Mac-specific configuration -*- lexical-binding: t; -*- ;;; config-mac.el --- Mac-specific configuration -*- lexical-binding: t; -*-
;; Seeded from mac repo 157ed9a, then edited locally. This file is loaded
;; only on darwin (see the dispatch at the end of config.el); it is the
;; home for anything with a macOS path, macOS binary, or macOS-hosted
;; backend. It is no longer a pristine vendor copy -- treat it as ours.
;; Enable tool use in gptel ;; Enable tool use in gptel
(setq gptel-use-tools t) (setq gptel-use-tools t)
@@ -204,4 +209,17 @@ Returns answer with org-roam links to sources."
(when yas-was-active (yas-minor-mode 1))) (when yas-was-active (yas-minor-mode 1)))
(message "No @glm-search or @gptel-search query found on current line")))) (message "No @glm-search or @gptel-search query found on current line"))))
;; Elixir language server. Moved out of the shared config.el, where this
;; macOS path was hard-coded and therefore dead on any other machine.
(with-eval-after-load 'eglot
(add-to-list 'eglot-server-programs
'(elixir-ts-mode
. ("sh" "/Users/willem/.elixir-ls/release/language_server.sh"))))
;; Blog export destinations. Kept in this file rather than in the shared
;; config.el because the jekyll checkout sits under ~/MyDocuments on macOS and
;; under ~/Documents on Linux. Override in config-local.el if it moves.
(setq org-roam-export-blog-firehose-root "~/dev/elixir/firehose"
org-roam-export-jekyll-root "~/MyDocuments/qwan/sites/qwaneu.github.io")
;;; config-mac.el ends here ;;; config-mac.el ends here