1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 18:41:09 +01:00

syncthing: run as me

This commit is contained in:
Kierán Meinhardt
2019-04-04 17:43:30 +02:00
parent 06464da30a
commit 579b5e4618

View File

@@ -70,8 +70,12 @@ in {
passwordAuthentication = false; passwordAuthentication = false;
}; };
services.syncthing = { services.syncthing = rec {
enable = true; enable = true;
# user = config.users.users.kfm.name;
# dataDir = "${config.users.users.kfm.home}/.config/syncthing";
user = "kfm";
dataDir = "/home/${user}/.config/syncthing";
openDefaultPorts = true; openDefaultPorts = true;
}; };