Syncthing: Only sync the needed dirs.

This commit is contained in:
Dmitry Voronin 2024-12-10 00:36:05 +03:00
parent 1fd557bebd
commit c8026139bc
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -41,7 +41,7 @@ in {
folders = let
allMyDevices = lib.mapAttrsToList (n: v: n) myDevices;
allDashaDevices = lib.mapAttrsToList (n: v: n) dashaDevices;
in {
in lib.filterAttrs (n: v: builtins.elem config.networking.hostName v.devices) {
"save" = {
path = "${cfg.dataDir}/save";
devices = [