I have one config file located in $DOOMDIR
where I keep work-related elisp functions that I need to encrypt using GPG.
I used to load this file with the following code in $DOOMDIR/config.el
:
(add-hook 'after-init-hook
(lambda ()
(load-file (expand-file-name "work.el.gpg" doom-private-dir))))
This used to work on Emacs 27 but after I upgraded to Emacs 28 it doesn’t work anymore. What is the recommended approach to load these config files in Doom?