3
0
Fork 0
forked from mirrors/nixpkgs

nixos/syncthing: Add receiveencrypted folder type

This folder type is available in syncthing, but could not be set in
NixOS.
See <https://docs.syncthing.net/users/untrusted.html> for reference.
This commit is contained in:
Moritz 'e1mo' Fromm 2022-08-09 14:50:55 +02:00
parent 65f39b913d
commit 79ae88a100
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1

View file

@ -317,11 +317,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.
'';
};