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

nixos/syncthing: Add receiveencrypted folder type
This commit is contained in:
Christian Kögler 2022-09-09 17:30:45 +02:00 committed by GitHub
commit 4b6b03f99c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,11 +325,12 @@ in {
};
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.
'';
};