Move away from authsource

This commit is contained in:
Alexander Rosenberg 2024-08-07 15:31:05 -07:00
parent 664d14e2bb
commit 8dec450394
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
2 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/tree-sitter/ /tree-sitter/
/tramp /tramp
/dape-breakpoints /dape-breakpoints
/private.el

View File

@ -1279,8 +1279,7 @@ If no name is given, list all bookmarks instead."
(require 'khard) (require 'khard)
;; mu4e ;; mu4e
(require 'auth-source-pass) (load (expand-file-name "private.el" user-emacs-directory) t)
(auth-source-pass-enable)
(use-package mu4e (use-package mu4e
:ensure nil :ensure nil
:defer nil :defer nil
@ -1323,8 +1322,8 @@ If no name is given, list all bookmarks instead."
(string-match-p "^/protonmail/" (string-match-p "^/protonmail/"
(mu4e-message-field msg (mu4e-message-field msg
:maildir)))) :maildir))))
:vars `((user-mail-address . ,(auth-source-pass-get "email" "emacs/mu4e-protonmail")) :vars `((user-mail-address . ,(alist-get 'email my/mu4e-private-config))
(user-full-name . ,(auth-source-pass-get "name" "emacs/mu4e-protonmail")) (user-full-name . ,(alist-get 'name my/mu4e-private-config))
(message-signature . nil) (message-signature . nil)
(mu4e-refile-folder . "/protonmail/Archive") (mu4e-refile-folder . "/protonmail/Archive")
(mu4e-sent-folder . "/protonmail/Sent") (mu4e-sent-folder . "/protonmail/Sent")