diff --git a/userModules/aly/syncthing.nix b/userModules/aly/syncthing.nix index 9f428241..463fcea2 100644 --- a/userModules/aly/syncthing.nix +++ b/userModules/aly/syncthing.nix @@ -11,6 +11,7 @@ in { services.syncthing = { enable = true; cert = cfg.certFile; + configDir = "${config.services.syncthing.dataDir}/.syncthing"; dataDir = "/home/aly"; key = cfg.keyFile; openDefaultPorts = true;