Merge pull request #232582 from Lassulus/syncthing-folder-fix

nixos/syncthing: fix disabled folders
This commit is contained in:
Naïm Favier 2023-05-18 22:19:36 +02:00 committed by GitHub
commit 84f249a0c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,9 @@ let
else
device
) folder.devices;
}) cfg.settings.folders;
}) (filterAttrs (_: folder:
folder.enable
) cfg.settings.folders);
updateConfig = pkgs.writers.writeDash "merge-syncthing-config" ''
set -efu