nixos/services/syncthing/H0615.nix

30 lines
651 B
Nix

{...}: {
imports = [./default.nix ./devices];
services.syncthing = {
user = "elitherl";
group = "users";
dataDir = "/home/elitherl";
extraOptions = {
options = {
globalAnnounceEnabled = true;
localAnnounceEnabled = true;
};
};
folders = {
"Notes" = {
path = "/home/elitherl/notes";
devices = ["ion" "monarch" "northstar" "vanguard"];
enable = true;
};
Sync = {
path = "/home/elitherl/Sync";
label = "UKAEA";
id = "fwzht-j7hrc";
devices = ["ion"];
ignorePerms = true;
enable = true;
};
};
};
}