summaryrefslogtreecommitdiff
path: root/modules/epa-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-25 17:05:06 -0500
committerCraig Jennings <c@cjennings.net>2024-04-25 17:05:06 -0500
commit692b44d648472fdf52048f6040d223ea7befe755 (patch)
tree8ec08f4463640a720476c2901cd9e1cbee418b1f /modules/epa-config.el
parenta5555afaf09be4c023f49661d48de803b2586927 (diff)
removed unnecessary hardcoded paths & fixed a typo
- defined constants for all commonly used paths - replaced hardcoded instances throughout the config with the variables - fixed typo in scripts/reset-to-first-launch.sj
Diffstat (limited to 'modules/epa-config.el')
-rw-r--r--modules/epa-config.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/epa-config.el b/modules/epa-config.el
index 0e3972a0..8d902ae4 100644
--- a/modules/epa-config.el
+++ b/modules/epa-config.el
@@ -12,8 +12,7 @@
:ensure nil ;; built in
:demand t ;; load this package early
:config
- (setq auth-sources '("~/.authinfo.gpg"))
- ;; (setq auth-sources '((:source "~/.authinfo.gpg")))
+ (setq auth-sources `(,authinfo-file))
(setenv "GPG_AGENT_INFO" nil) ;; emacs use internal prompt, not gpg agent
(setq auth-source-debug t)) ;; echo debug info to Messages