diff --git a/modules/home/users/crumb/emacs/modules/syd-org.el b/modules/home/users/crumb/emacs/modules/syd-org.el index 2ce6da5..7285611 100755 --- a/modules/home/users/crumb/emacs/modules/syd-org.el +++ b/modules/home/users/crumb/emacs/modules/syd-org.el @@ -364,6 +364,8 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html." ;; Stay out of my config dir! (org-id-locations-file (file-name-concat syd-cache-dir "org-id-locations")) + (org-cite-global-bibliography + (list (expand-file-name "~/liography.bib"))) ;; New headings should be inserted /after/ the heading's contents. (org-insert-heading-respect-content t) ;; Hide markup syntax and leave the markup. @@ -532,9 +534,5 @@ In case of failure, fail gracefully." (use-package org-fragtog :hook (org-mode . org-fragtog-mode)) -(with-eval-after-load 'org-cite - (setq org-cite-global-bibliography - (list (substitute-in-file-name "/persist/home/$USER/liography.bib")))) - (provide 'syd-org) ;;; syd-org.el ends here diff --git a/users/crumb/files.nix b/users/crumb/files.nix index 0eb8806..c394872 100755 --- a/users/crumb/files.nix +++ b/users/crumb/files.nix @@ -42,6 +42,9 @@ in lib.mkMerge [ # under ~/.ssh, rather than the whole directory. ".ssh" ]; + files = [ + "liography.bib" + ]; }; }