nixos/services/syncthing/H0615.nix
Evie Litherland-Smith 320d76f972 Move server directory and syncthing into services directory
Separate service setup from traefik config for each, prep for future
server separation
2023-05-26 08:52:46 +01:00

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;
};
};
};
}