From b716af87bd189d199a77825241da744182577e1e Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Tue, 20 Aug 2024 14:26:32 +0800 Subject: [PATCH] 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. --- nixos/services/syncthing.service.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/services/syncthing.service.nix b/nixos/services/syncthing.service.nix index 54c2ff4..47015e2 100644 --- a/nixos/services/syncthing.service.nix +++ b/nixos/services/syncthing.service.nix @@ -8,8 +8,8 @@ syncthing = { enable = true; user = "${config.myUserName}"; - dataDir = "/home/${config.myUserName}/Documents"; - configDir = "/home/${config.myUserName}/Documents/.config/syncthing"; + dataDir = "/home/${config.myUserName}/.config/syncthing"; + configDir = "/home/${config.myUserName}/.config/syncthing"; }; }; networking.firewall.allowedTCPPorts = [8384 22000];