25 lines
510 B
Nix
25 lines
510 B
Nix
{...}: {
|
|
imports = [./default.nix ./devices/ion.nix];
|
|
services.syncthing = {
|
|
user = "elitherl";
|
|
group = "users";
|
|
dataDir = "/home/elitherl";
|
|
extraOptions = {
|
|
options = {
|
|
globalAnnounceEnabled = true;
|
|
localAnnounceEnabled = true;
|
|
};
|
|
};
|
|
folders = {
|
|
Sync = {
|
|
path = "/home/elitherl/Sync";
|
|
label = "UKAEA";
|
|
id = "fwzht-j7hrc";
|
|
devices = ["ion"];
|
|
ignorePerms = true;
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|