   (add-hook 'org-export-before-processing-hook #'benmezger/org-export-preprocessor))
 
 (after! (org ox-hugo)
+  :defer t
   (defun benmezger/conditional-hugo-enable ()
     (save-excursion
       (if (cdr (assoc "SETUPFILE" (org-roam--extract-global-props '("SETUPFILE"))))



(after! deft
  :config
  (setq deft-directory org-directory)
  (setq deft-extensions '("org" "md" "txt"))

  (global-wakatime-mode))

(use-package! py-isort
  :defer t
  :init
  (add-hook 'before-save-hook 'py-isort-before-save))

(after! elfeed-org
  :defer t
  :init
  (setq rmh-elfeed-org-files (list "~/workspace/org/notes.org")))

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