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.
|
# 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";
|
||||||
|
|
Loading…
Reference in New Issue