From e27dadb8e4b6e0491ef5f32d010144cd2ecb32dc Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 14 May 2024 15:28:47 +0200 Subject: [PATCH] Allow setting up custom syncs --- lib/modules/rclone.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 4f19a7b..201531c 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -12,6 +12,7 @@ let syncProviders = { nextcloud = mkProvider {}; proton = mkProvider {}; + manual = mkProvider {}; }; syncType = lib.types.submodule ( @@ -20,6 +21,7 @@ let type = lib.mkOption { description = "The type of the sync"; type = lib.types.enum (builtins.attrNames syncProviders); + default = "manual"; }; autoStart = lib.mkOption {