nixos/syncthing/H0615.nix
Evie Litherland-Smith ca40907095 Update syncthing expressions for new API
extraOptions -> settings
devices -> settings.devices
folders -> settings.folders
2023-05-19 12:00:01 +01:00

25 lines
526 B
Nix

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