1
Fork 0
satellite/hosts/nixos/common/optional/syncthing.nix
2023-07-18 17:56:32 +03:00

29 lines
549 B
Nix

let
user = "adrielus";
group = "syncthing";
in
{
services.syncthing = {
inherit user group;
enable = true;
openDefaultPorts = true;
configDir = "/persist/state/home/adrielus/Syncthing/.config/syncthing";
dataDir = "/persist/data/syncthing";
overrideDevices = true;
overrideFolders = true;
devices = {
"enceladus" = { id = "QWOAERM-V2FNXPI-TB7NFUS-LKW7JTB-IZY4OEZ-FYDPJNP-6IKPW4Y-YREXDQM"; };
};
extraOptions = {
options = {
crashReportingEnabled = false;
};
};
};
}