Files
doom/security.el
2025-10-19 21:54:29 +08:00

16 lines
400 B
EmacsLisp

;;; 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)