Allow specifying the path to mount remote file systems to

This commit is contained in:
Manuel Thalmann 2024-05-15 20:51:50 +02:00
parent 5022fd8103
commit 824bcbfbe5

View file

@ -84,6 +84,11 @@ let
mkSyncType = provider: lib.types.submodule ( mkSyncType = provider: lib.types.submodule (
{ config, name, ... }: { { config, name, ... }: {
options = { options = {
path = lib.mkOption {
type = lib.types.str;
description = "The path to mount the remote file system to.";
};
autoStart = lib.mkOption { autoStart = lib.mkOption {
type = lib.types.bool; type = lib.types.bool;
description = "Whether to start this sync automatically."; description = "Whether to start this sync automatically.";