For a setup to have files synced (eg. for Obsidian) you can use Syncthing as to decentralized sync between various devices.

sudo apt install syncthing
sudo apt-get -y install syncthing
systemctl --user start syncthing.service
systemctl --user enable --now syncthing

Local Dashboard:

Don't forget to set a user authentication for the local dashboard to protect yourself.