Add further WebDAV options
This commit is contained in:
parent
596a005989
commit
5022fd8103
1 changed files with 18 additions and 0 deletions
|
@ -54,6 +54,24 @@ let
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "The WebDAV URL of the ${vendorName} server to connect to.";
|
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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue