From 824bcbfbe56fd2320683ad3308a5630b977b9209 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 15 May 2024 20:51:50 +0200 Subject: [PATCH] Allow specifying the path to mount remote file systems to --- lib/modules/rclone.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 6c24b4e..2ad84c1 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -84,6 +84,11 @@ let mkSyncType = provider: lib.types.submodule ( { config, name, ... }: { options = { + path = lib.mkOption { + type = lib.types.str; + description = "The path to mount the remote file system to."; + }; + autoStart = lib.mkOption { type = lib.types.bool; description = "Whether to start this sync automatically.";