fix: change dataDir and configDir

This resolves the issue of not being able to sync the whole directory

because of the existence of protected files.
This commit is contained in:
Zhongheng Liu 2024-08-20 14:26:32 +08:00
commit b716af87bd
No known key found for this signature in database

View file

@ -8,8 +8,8 @@
syncthing = { syncthing = {
enable = true; enable = true;
user = "${config.myUserName}"; user = "${config.myUserName}";
dataDir = "/home/${config.myUserName}/Documents"; dataDir = "/home/${config.myUserName}/.config/syncthing";
configDir = "/home/${config.myUserName}/Documents/.config/syncthing"; configDir = "/home/${config.myUserName}/.config/syncthing";
}; };
}; };
networking.firewall.allowedTCPPorts = [8384 22000]; networking.firewall.allowedTCPPorts = [8384 22000];