summary refs log tree commit diff
path: root/nixos/modules/services/networking/resilio.nix
diff options
context:
space:
mode:
authorFritz Otlinghaus <fritz@otlinghaus.it>2021-01-31 12:08:32 +0100
committerCole Helbling <cole.e.helbling@outlook.com>2021-02-03 16:17:37 -0800
commitd7ee2a16bd762c38eb97e6f8898b176a65d56fa9 (patch)
treeb1d0df103a9aa2deea5840bbdae1920521afeeaa /nixos/modules/services/networking/resilio.nix
parentca14ff07774283b1d8305dd01fba7910dce4ae17 (diff)
downloadnixpkgs-d7ee2a16bd762c38eb97e6f8898b176a65d56fa9.tar
nixpkgs-d7ee2a16bd762c38eb97e6f8898b176a65d56fa9.tar.gz
nixpkgs-d7ee2a16bd762c38eb97e6f8898b176a65d56fa9.tar.bz2
nixpkgs-d7ee2a16bd762c38eb97e6f8898b176a65d56fa9.tar.lz
nixpkgs-d7ee2a16bd762c38eb97e6f8898b176a65d56fa9.tar.xz
nixpkgs-d7ee2a16bd762c38eb97e6f8898b176a65d56fa9.tar.zst
nixpkgs-d7ee2a16bd762c38eb97e6f8898b176a65d56fa9.zip
nixos/resilio: add sharedFolders type
Diffstat (limited to 'nixos/modules/services/networking/resilio.nix')
-rw-r--r--nixos/modules/services/networking/resilio.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/resilio.nix b/nixos/modules/services/networking/resilio.nix
index 6193d7340fc..4701b0e8143 100644
--- a/nixos/modules/services/networking/resilio.nix
+++ b/nixos/modules/services/networking/resilio.nix
@@ -183,6 +183,7 @@ in
 
       sharedFolders = mkOption {
         default = [];
+        type = types.listOf (types.attrsOf types.anything);
         example =
           [ { secret         = "AHMYFPCQAHBM7LQPFXQ7WV6Y42IGUXJ5Y";
               directory      = "/home/user/sync_test";