diff options
author | jao <jao@gnu.org> | 2025-09-18 20:42:50 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2025-09-18 20:42:50 +0100 |
commit | 5d26690a6097739ca894678e8d5f6f3e61d7dd84 (patch) | |
tree | 340edaad5a856aca94fb3b461ff62388e43c7519 | |
parent | 5ccb0abcb3c1eecefc31cc88911ff520f4c25709 (diff) | |
download | elibs-5d26690a6097739ca894678e8d5f6f3e61d7dd84.tar.gz elibs-5d26690a6097739ca894678e8d5f6f3e61d7dd84.tar.bz2 |
auth-source nits
-rw-r--r-- | init.el | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -335,11 +335,13 @@ ;;; Crypto ;;;; PGP, EPG, passwords -(setq auth-source-debug nil) - -(require 'auth-source) -(add-to-list 'auth-source-protocols '(local "local")) -(setq auth-sources '("~/.emacs.d/authinfo.gpg" "~/.netrc")) +(use-package auth-source + :init + (setq auth-source-debug nil + auth-sources '("~/.emacs.d/authinfo.gpg" "~/.netrc")) + :config + (add-to-list 'auth-source-protocols '(local "local")) + (jao-when-darwin (add-to-list 'auth-sources 'macos-keychain-generic))) (use-package epa-file :demand t @@ -1326,6 +1328,7 @@ (add-hook 'nov-mode-hook #'jao-nov-register-session)) ;;; Email + (require 'jao-custom-email) ;;; Shells and terms |