diff --git a/nix/config/emacs/init.el b/nix/config/emacs/init.el index 693bc14..bf38fa6 100644 --- a/nix/config/emacs/init.el +++ b/nix/config/emacs/init.el @@ -231,11 +231,7 @@ (setq frame-resize-pixelwise t) (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t)) - (add-to-list 'default-frame-alist '(ns-appearance . dark)) - - (use-package exec-path-from-shell - :config - (exec-path-from-shell-initialize))) + (add-to-list 'default-frame-alist '(ns-appearance . dark))) (add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p) (add-hook 'package-menu-mode-hook #'hl-line-mode) @@ -245,6 +241,12 @@ :config (envrc-global-mode)) +(use-package exec-path-from-shell + :if (and (eq system-type 'darwin) (display-graphic-p)) + :config + (exec-path-from-shell-initialize) + (exec-path-from-shell-copy-envs '("LOGSEQ_DIR"))) + (use-package flycheck :hook (clojure-mode . flycheck-mode))