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:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user