From 1a7a63e433b7c227f7157c94413ca09b70d0eedb Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 15 May 2024 11:44:35 +0200 Subject: [PATCH] Remove unnecessary code segments --- lib/modules/rclone.nix | 27 --------------------------- 1 file changed, 27 deletions(-) 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 (