diff options
author | Moritz 'e1mo' Fromm <git@e1mo.de> | 2022-08-09 14:50:55 +0200 |
---|---|---|
committer | Moritz 'e1mo' Fromm <git@e1mo.de> | 2022-08-09 15:03:14 +0200 |
commit | 79ae88a1002db5384bc9ad2e8708c77554289f05 (patch) | |
tree | 2e5721fe83a9b1de7d7c2612f34ce2cab6bf5c4b /nixos | |
parent | 65f39b913d0910907ea22be29f108402924644c2 (diff) | |
download | nixlib-79ae88a1002db5384bc9ad2e8708c77554289f05.tar nixlib-79ae88a1002db5384bc9ad2e8708c77554289f05.tar.gz nixlib-79ae88a1002db5384bc9ad2e8708c77554289f05.tar.bz2 nixlib-79ae88a1002db5384bc9ad2e8708c77554289f05.tar.lz nixlib-79ae88a1002db5384bc9ad2e8708c77554289f05.tar.xz nixlib-79ae88a1002db5384bc9ad2e8708c77554289f05.tar.zst nixlib-79ae88a1002db5384bc9ad2e8708c77554289f05.zip |
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.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/syncthing.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/syncthing.nix b/nixos/modules/services/networking/syncthing.nix index 373fd03223d6..5242d3a40350 100644 --- a/nixos/modules/services/networking/syncthing.nix +++ b/nixos/modules/services/networking/syncthing.nix @@ -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. ''; }; |