Merge pull request #185782 from e1mo/e1mo/syncthing-receiveencrypted

nixos/syncthing: Add receiveencrypted folder type

Changed files
+3 -2
nixos
modules
services
networking
+3 -2
nixos/modules/services/networking/syncthing.nix
···
};
type = mkOption {
-
type = types.enum [ "sendreceive" "sendonly" "receiveonly" ];
+
type = types.enum [ "sendreceive" "sendonly" "receiveonly" "receiveencrypted" ];
default = "sendreceive";
description = lib.mdDoc ''
Whether to only send changes for this folder, only receive them
-
or both.
+
or both. `receiveencrypted` can be used for untrusted devices. See
+
<https://docs.syncthing.net/users/untrusted.html> for reference.
'';
};