Force syncthing config and database to .config
This commit is contained in:
parent
d228743c5f
commit
8c1da2190c
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue