2023-07-16 17:35:36 +01:00
|
|
|
{...}: let
|
|
|
|
user = "xenia";
|
|
|
|
in {
|
|
|
|
imports = [./sshd ./syncthing];
|
2023-05-07 13:01:02 +01:00
|
|
|
services.syncthing = {
|
2023-07-16 17:35:36 +01:00
|
|
|
user = user;
|
2023-05-07 13:01:02 +01:00
|
|
|
group = "users";
|
2023-07-16 17:35:36 +01:00
|
|
|
dataDir = "/home/${user}";
|
2023-05-25 08:48:58 +01:00
|
|
|
folders = {
|
2023-06-27 09:54:15 +01:00
|
|
|
"Archive".path = "~/Documents/Archive";
|
|
|
|
"Books".path = "~/Documents/Books";
|
2023-06-27 07:38:02 +01:00
|
|
|
"Comics".path = "~/Documents/Comics";
|
2023-06-27 09:54:15 +01:00
|
|
|
"Documents".path = "~/Documents/Sync";
|
|
|
|
"Exports".path = "~/Documents/Exports";
|
2023-06-27 07:38:02 +01:00
|
|
|
"Notes".path = "~/notes";
|
|
|
|
"Pictures".path = "~/Pictures";
|
2023-06-28 18:03:45 +01:00
|
|
|
"Xochitl".enable = false;
|
2023-06-27 09:54:15 +01:00
|
|
|
"Zotero".path = "~/Documents/Zotero";
|
2023-05-07 13:01:02 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|