factor
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
;;; security.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defun load-if-exists (f)
|
||||
(if (file-exists-p (expand-file-name f))
|
||||
(load-file (expand-file-name f))))
|
||||
|
||||
(load-if-exists "~/.config/doom/secrets.el")
|
||||
|
||||
(after! epa-file
|
||||
(setq epa-file-encrypt-to "dingfengwong@gmail.com"))
|
||||
|
||||
(after! auth-source
|
||||
(setq auth-sources '("~/.authinfo.gpg")))
|
||||
|
||||
(setq epa-file-cache-passphrase-for-symmetric-encryption t)
|
||||
Reference in New Issue
Block a user