Syncthing: Only sync the needed dirs.
This commit is contained in:
parent
1fd557bebd
commit
c8026139bc
|
@ -41,7 +41,7 @@ in {
|
||||||
folders = let
|
folders = let
|
||||||
allMyDevices = lib.mapAttrsToList (n: v: n) myDevices;
|
allMyDevices = lib.mapAttrsToList (n: v: n) myDevices;
|
||||||
allDashaDevices = lib.mapAttrsToList (n: v: n) dashaDevices;
|
allDashaDevices = lib.mapAttrsToList (n: v: n) dashaDevices;
|
||||||
in {
|
in lib.filterAttrs (n: v: builtins.elem config.networking.hostName v.devices) {
|
||||||
"save" = {
|
"save" = {
|
||||||
path = "${cfg.dataDir}/save";
|
path = "${cfg.dataDir}/save";
|
||||||
devices = [
|
devices = [
|
||||||
|
|
Loading…
Reference in a new issue