diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 2255fb1..6c24b4e 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -54,6 +54,24 @@ let type = lib.types.str; description = "The WebDAV URL of the ${vendorName} server to connect to."; }; + + username = lib.mkOption { + type = lib.types.nullOr lib.types.str; + description = "The user name for logging in to the ${vendorName} server."; + default = null; + }; + + obscuredPassword = lib.mkOption { + type = lib.types.nullOr lib.types.str; + description = "The password obscured using the `rclone obscure` command for logging in to the ${vendorName} server."; + default = null; + }; + + obscuredPasswordFile = lib.mkOption { + type = lib.types.nullOr (lib.types.either lib.types.path lib.types.str); + description = "The path to a file containing the password obscured using the `rclone obscure` command for logging in to the ${vendorName} server."; + default = null; + }; }; });