1
1
Fork 0

beatific: Force syncthing config and database to .config

This commit is contained in:
Tim Van Baak 2024-01-03 18:24:14 -08:00
parent d47d87d91f
commit e71acea928
1 changed files with 4 additions and 1 deletions

View File

@ -194,7 +194,10 @@ in {
# system services so as not to require login to sync. # system services so as not to require login to sync.
services.syncthing = { services.syncthing = {
enable = true; 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; openDefaultPorts = true;
user = "tvb"; user = "tvb";
group = "tvb"; group = "tvb";