2023-08-30 07:28:36 +01:00
|
|
|
{ ... }:
|
|
|
|
let
|
|
|
|
user = "xenia";
|
|
|
|
group = "users";
|
|
|
|
dataDir = "/home/${user}";
|
|
|
|
in {
|
|
|
|
imports = [ ./sshd ./syncthing ];
|
|
|
|
services.syncthing = {
|
|
|
|
inherit user group dataDir;
|
|
|
|
settings.folders = {
|
|
|
|
"Archive".enable = false;
|
|
|
|
"Books".enable = false;
|
|
|
|
"Comics".enable = false;
|
|
|
|
"Exports".enable = false;
|
|
|
|
"Pictures".enable = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|