From b512e64fcb903998e8a1eb415d33db9a4f22c852 Mon Sep 17 00:00:00 2001 From: Micheal Smith Date: Wed, 29 Oct 2025 19:53:28 -0500 Subject: [PATCH] Moved auth section to its own configuration file. --- config.org | 12 +----------- config/auth.org | 11 +++++++++++ 2 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 config/auth.org diff --git a/config.org b/config.org index 4151783..5f5c046 100644 --- a/config.org +++ b/config.org @@ -200,17 +200,7 @@ features. #+INCLUDE: "config/tidy.org" :minlevel 1 -* Auth sources - -I make sure the auth sources are within the emacs directory. I use gpg, but in case there's -a plain text one laying around I'll use that too. Finally as I use pass I've enabled -password-store as well; Though I'm not sure this actually works currently. - -#+begin_src emacs-lisp -(auth-source-pass-enable) -(setq auth-sources '("~/.emacs.d/.authinfo.gpg" "~/.emacs.d/.authinfo" - "password-store")) -#+end_src +#+INCLUDE: "config/auth.org" :minlevel 1 * Path diff --git a/config/auth.org b/config/auth.org new file mode 100644 index 0000000..2d4c594 --- /dev/null +++ b/config/auth.org @@ -0,0 +1,11 @@ +* Auth sources + +I make sure the auth sources are within the emacs directory. I use gpg, but in case there's +a plain text one laying around I'll use that too. Finally as I use pass I've enabled +password-store as well; Though I'm not sure this actually works currently. + +#+begin_src emacs-lisp +(auth-source-pass-enable) +(setq auth-sources '("~/.emacs.d/.authinfo.gpg" "~/.emacs.d/.authinfo" + "password-store")) +#+end_src