2023-05-17 17:10:18 +01:00
|
|
|
{...}: {
|
2023-05-31 09:46:34 +01:00
|
|
|
imports = [./default.nix ./devices];
|
2023-05-09 13:52:52 +01:00
|
|
|
services.syncthing = {
|
|
|
|
user = "elitherl";
|
|
|
|
group = "users";
|
|
|
|
dataDir = "/home/elitherl";
|
2023-05-25 08:48:58 +01:00
|
|
|
extraOptions = {
|
2023-05-09 13:58:49 +01:00
|
|
|
options = {
|
|
|
|
globalAnnounceEnabled = true;
|
|
|
|
localAnnounceEnabled = true;
|
|
|
|
};
|
2023-05-25 08:48:58 +01:00
|
|
|
};
|
|
|
|
folders = {
|
2023-05-31 10:03:32 +01:00
|
|
|
"Notes" = {
|
|
|
|
path = "/home/elitherl/notes";
|
|
|
|
devices = ["ion" "monarch" "northstar" "vanguard"];
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-05-25 08:48:58 +01:00
|
|
|
Sync = {
|
|
|
|
path = "/home/elitherl/Sync";
|
|
|
|
label = "UKAEA";
|
|
|
|
id = "fwzht-j7hrc";
|
|
|
|
devices = ["ion"];
|
|
|
|
ignorePerms = true;
|
|
|
|
enable = true;
|
2023-05-19 12:00:01 +01:00
|
|
|
};
|
2023-05-09 13:58:49 +01:00
|
|
|
};
|
2023-05-09 13:52:52 +01:00
|
|
|
};
|
|
|
|
}
|