diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 7591dba..ee8e1dd 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -377,9 +377,9 @@ in { (lib.generators.toINI { } { ${name} = sync.config; }); script = pkgs.writeShellScriptBin serviceName '' ${sync.secretsScript} - mkdir -p ${lib.escapeShellArg sync.path} + mkdir -p ${sync.path} mkdir -p /tmp/rclone - ${lib.getExe pkgs.rclone} mount --config ${configFile} ${name}: ${lib.escapeShellArg sync.path} + ${lib.getExe pkgs.rclone} mount --config ${configFile} ${name}: ${sync.path} ''; in (lib.getExe script);