diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index ee8e1dd..683d613 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -53,11 +53,12 @@ let }; mkProvider = ( - { config, ... }: { + { config, name, ... }: { options = { path = lib.mkOption { type = lib.types.str; description = "The path to mount the remote file system to."; + default = "$HOME/.mnt/${lib.escapeShellArg name}"; }; autoStart = lib.mkOption {