Set default rclone mount path

This commit is contained in:
Manuel Thalmann 2024-05-16 16:52:47 +02:00
parent 7faca7cbbf
commit 53842bb680

View file

@ -53,11 +53,12 @@ let
}; };
mkProvider = ( mkProvider = (
{ config, ... }: { { config, name, ... }: {
options = { options = {
path = lib.mkOption { path = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = "The path to mount the remote file system to."; description = "The path to mount the remote file system to.";
default = "$HOME/.mnt/${lib.escapeShellArg name}";
}; };
autoStart = lib.mkOption { autoStart = lib.mkOption {