nixos/services/syncthing/H0615.nix

30 lines
651 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +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 = {
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-09 13:52:52 +01:00
};
}