stopped devices from sharing with themselves
This commit is contained in:
parent
3fdb28abef
commit
57c50fbe76
|
@ -33,6 +33,7 @@
|
||||||
) (
|
) (
|
||||||
lib.attrsets.mapAttrsToList (_: deviceFolder: deviceFolder) device.folders
|
lib.attrsets.mapAttrsToList (_: deviceFolder: deviceFolder) device.folders
|
||||||
)
|
)
|
||||||
|
&& (device.name != config.services.syncthing.deviceName)
|
||||||
)
|
)
|
||||||
config.services.syncthing.configuration.devices
|
config.services.syncthing.configuration.devices
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue