stopped devices from sharing with themselves

This commit is contained in:
Leyla Becker 2025-03-13 01:52:55 -05:00
parent 3fdb28abef
commit 57c50fbe76

View file

@ -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
); );