Hi everyone, I am running syncthing as a systemd service on my NixOS machine. There are a couple of things that are confusing me and are giving me headaches.
It sets the ~ as /var/lib/syncthing
I am getting the following errors when I try to sync it in my home directory: /home/<username>/<folder_to_sync> See below:
<small>2024-11-21 20:36:47:</small> Loading ignores: lstat /home/<username>/Roam/.stignore: permission denied
<small>2024-11-21 20:36:47:</small> Failed to create folder root directory stat /home/<username>/Roam: permission denied
<small>2024-11-21 20:36:47:</small> Error on folder "Roam" (etuex-azy25): stat /home/<username>/Roam: permission denied
OK
My questions are:
Why am I getting this?
Is this because I am running as a system service and not as my user?
Thanks for your help btw. I realize Iâm just a bit dumb and was running it as a system service where I should have been running it as a user service.
For nixos this requires loading it as a home-manager module which I did and all was well.