From 8653798a3dac5534a8960126b11cb44541353cff Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 16 May 2024 00:51:36 +0200 Subject: [PATCH] Allow creating rclone mounts manually --- lib/modules/rclone.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 9519bc7..9c139f6 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -2,6 +2,7 @@ let cfg = config.programs.rclone; targetName = "rclone"; + manualVendor = "manual"; owncloudVendor = "owncloud"; owncloudName = "Owncloud"; nextcloudVendor = "nextcloud"; @@ -172,6 +173,11 @@ let }); syncProviders = { + ${manualVendor} = { + displayName = "Custom"; + module = mkProvider; + }; + ${nextcloudVendor} = rec { displayName = "Nextcloud";