(use-package org-roam
:ensure t
:custom
(org-roam-directory (file-truename "/path/to/org-files/"))
Note that the
file-truename
function is only necessary when you use symbolic link toorg-roam-directory
. Org-roam won’t automatically resolve symbolic link to the directory.