Make more use of pipes

This commit is contained in:
SebastianStork 2025-08-10 00:21:05 +02:00
parent cd3765efea
commit 14b0e0ac1d
4 changed files with 9 additions and 7 deletions

View file

@ -92,7 +92,7 @@ in
lib.genAttrs folders (name: {
path = "${config.services.syncthing.dataDir}/${name}";
ignorePerms = false;
devices = lib.attrNames config.services.syncthing.settings.devices;
devices = config.services.syncthing.settings.devices |> lib.attrNames;
});
in
genFolders [