From e71acea928596dfdc96aa9ca7c46862234d58ab5 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Wed, 3 Jan 2024 18:24:14 -0800 Subject: [PATCH] beatific: Force syncthing config and database to .config --- modules/beatific.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/beatific.nix b/modules/beatific.nix index 744307a..0eadd72 100644 --- a/modules/beatific.nix +++ b/modules/beatific.nix @@ -194,7 +194,10 @@ in { # system services so as not to require login to sync. services.syncthing = { enable = true; - dataDir = "/home/tvb"; + configDir = "/home/tvb/.config/syncthing"; + # this doesn't prevent syncthing from putting sync points in other locations, it's just a default + # normally it would make sense to put it at ~ but see https://github.com/NixOS/nixpkgs/pull/273693 + dataDir = "/home/tvb/.config/syncthing"; openDefaultPorts = true; user = "tvb"; group = "tvb";