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:
parent
65f39b913d
commit
79ae88a100
|
@ -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.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue