2023-07-16 17:35:36 +01:00
|
|
|
{...}: let
|
|
|
|
user = "elitherl";
|
|
|
|
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-16 17:35:36 +01:00
|
|
|
dataDir = "/home/${user}";
|
2023-06-27 09:54:15 +01:00
|
|
|
folders = {
|
|
|
|
"Archive".enable = false;
|
|
|
|
"Books".enable = false;
|
|
|
|
"Comics".enable = false;
|
|
|
|
"Documents".enable = false;
|
|
|
|
"Exports".enable = false;
|
|
|
|
"Notes".path = "~/notes";
|
|
|
|
"Pictures".enable = false;
|
|
|
|
"Xochitl".enable = false;
|
|
|
|
"Zotero".path = "~/Documents/Zotero";
|
2023-06-19 14:33:05 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|