This commit is contained in:
2025-10-19 21:54:29 +08:00
parent a64bc65ad4
commit 788b862e5b
6 changed files with 330 additions and 319 deletions
+15
View File
@@ -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)