nixos/modules/services/syncthing.nix
2026-10-15 14:06:37 +02:00

16 lines
348 B
Nix
Executable file

{
services.syncthing = {
user = "lucy";
dataDir = "/home/lucy/sync";
configDir = "/home/lucy/.config/syncthing";
enable = true;
openDefaultPorts = true;
settings = {
devices = {
"cyberia" = {
id = "5SW5N7Z-BGTZD37-5ELRQVE-PBRK3O5-M4CGYLZ-R3KCVVS-AM5QD2G-WTQYKA7";
};
};
};
};
}