1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +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;
};
services.syncthing = {
services.syncthing = rec {
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;
};