Add further WebDAV options

This commit is contained in:
Manuel Thalmann 2024-05-15 18:48:56 +02:00
parent 596a005989
commit 5022fd8103

View file

@ -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;
};
};
});