Skip to content

Commit

Permalink
feat(services): add persistent peer and sync file ownership in syncthing
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuciael committed Sep 3, 2024
1 parent 45e12c5 commit 01c8356
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion modules/services/syncthing.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,20 @@ in {
devices = {
nixos.id = "QUDUYTK-C7ES7PH-SLQZW47-FBBSXKP-KMI6V4N-3PFF2AU-AJFOX3W-JZ4USQ4";
laptop.id = "ZYICIZR-XBL4Q2B-UJAC3P7-ATZE465-J6IVQIM-ZR24CBB-FWIAT27-BPU3HQM";
"sync.zakku.eu" = {
id = "6JPV4AX-4ALKGHX-YKKQYNR-IJPTK2O-S6TV2AM-GZ6KDA3-EZ6TNGF-ZZQIDAL";
addresses = [
"tcp://51.83.129.177:32627"
];
};
};

folders = {
"Development" = {
id = "hVYpBP-yrTzAX-PxYRGw-UHvw";
path = "${homeDirectory}/dev";
devices = ["nixos" "laptop"];
devices = ["nixos" "laptop" "sync.zakku.eu"];
syncOwnership = true;
};
};
};
Expand Down

0 comments on commit 01c8356

Please sign in to comment.