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