2023-07-16 17:35:36 +01:00
|
|
|
{...}: let
|
|
|
|
user = "elitherl";
|
2023-07-21 11:38:46 +01:00
|
|
|
dataDir = "/home/${user}";
|
2023-07-16 17:35:36 +01:00
|
|
|
in {
|
|
|
|
imports = [./syncthing];
|
2023-06-19 14:33:05 +01:00
|
|
|
services.syncthing = {
|
2023-07-16 17:35:36 +01:00
|
|
|
user = user;
|
2023-06-19 14:33:05 +01:00
|
|
|
group = "users";
|
2023-07-21 11:38:46 +01:00
|
|
|
dataDir = dataDir;
|
2023-07-24 13:30:39 +01:00
|
|
|
settings.folders = {
|
2023-06-27 09:54:15 +01:00
|
|
|
"Archive".enable = false;
|
|
|
|
"Books".enable = false;
|
|
|
|
"Comics".enable = false;
|
|
|
|
"Documents".enable = false;
|
|
|
|
"Exports".enable = false;
|
|
|
|
"Pictures".enable = false;
|
2023-06-19 14:33:05 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|