From 57c50fbe76e3cd365554f4ceba53b7be2604323a Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Thu, 13 Mar 2025 01:52:55 -0500 Subject: [PATCH] stopped devices from sharing with themselves --- lib/nixos-module.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nixos-module.nix b/lib/nixos-module.nix index e31d28b..68c413a 100644 --- a/lib/nixos-module.nix +++ b/lib/nixos-module.nix @@ -33,6 +33,7 @@ ) ( lib.attrsets.mapAttrsToList (_: deviceFolder: deviceFolder) device.folders ) + && (device.name != config.services.syncthing.deviceName) ) config.services.syncthing.configuration.devices );