mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 19:45:40 +00:00
26 lines
633 B
Nix
26 lines
633 B
Nix
{
|
|
services.syncthing = {
|
|
enable = true;
|
|
user = "toast";
|
|
group = "users";
|
|
configDir = "/home/toast/.config/syncthing";
|
|
extraFlags = [ "--no-default-folder" ];
|
|
overrideDevices = true;
|
|
overrideFolders = true;
|
|
settings = {
|
|
devices = {
|
|
"phone" = { id = "XIRT2YS-3PZY7PF-PL4QTYK-LCYCSKW-GARN5N6-KBWGSP6-YZDQGED-N7R6YQF"; };
|
|
};
|
|
folders = {
|
|
"keepass" = {
|
|
path = "/data/Backup/Keepass/";
|
|
devices = [ "phone" ];
|
|
};
|
|
"obsidian" = {
|
|
path = "/home/toast/Obsidian/";
|
|
devices = [ "phone" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|