diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 4dd588d..955effb 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -31,33 +31,6 @@ let ; }; - mkWebdavOptions = { vendorName }: { - username = lib.mkOption { - type = lib.types.str; - description = "The name of the user to log in to ${vendorName}."; - }; - - password = lib.mkOption { - type = lib.types.nullOr lib.types.str; - description = "The password for logging in to ${vendorName}."; - default = null; - }; - - passwordFile = lib.mkOption { - type = lib.types.nullOr (lib.types.either lib.types.path lib.types.str); - description = "A path to a file to read the password from for logging in to ${vendorName}."; - default = null; - }; - }; - - mkOwncloudOptions = - { vendorName ? "Nextcloud" }: (mkWebdavOptions { inherit vendorName; }) // { - baseUrl = lib.mkOption { - type = lib.types.str; - description = "The base URL of the ${vendorName} server."; - }; - }; - syncProviders = { nextcloud = mkProvider { options = lib.types.submodule (