   (let ((editorconfig-exclude-regexps '(".")))
     (apply orig-fn args)))
 
-(after! org-msg
+(after! (:or org org-msg)
   :config
   (setq org-msg-default-alternatives '(text)))
 
-(after! org-id
+(after! (:or org-id org roam2 org-roam)
   :defer t
   :config
   (setq org-id-locations-file (concat org-directory "/.orgid"))


(after! (org org-roam)
  :defer t
  (push org-roam-directory org-agenda-files)
  (defun benmezger/org-roam-export-all ()
    "Re-exports all Org-roam files to Hugo markdown."

  :init
  (setq ob-mermaid-cli-path "/usr/local/bin/mmdc"))

(after! (:or org-ref org)
  :config
  (setq org-ref-completion-library 'org-ref-ivy-cite)
  (setq org-ref-default-bibliography `,(list (concat org-directory "/bibliography.bib")))
