Set password settings to null
by default
This commit is contained in:
parent
e8173f7566
commit
fdf11f3cee
1 changed files with 2 additions and 0 deletions
|
@ -40,11 +40,13 @@ let
|
||||||
password = lib.mkOption {
|
password = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.str;
|
type = lib.types.nullOr lib.types.str;
|
||||||
description = "The password for logging in to ${vendorName}.";
|
description = "The password for logging in to ${vendorName}.";
|
||||||
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
passwordFile = lib.mkOption {
|
passwordFile = lib.mkOption {
|
||||||
type = lib.types.nullOr (lib.types.either lib.types.path lib.types.str);
|
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}.";
|
description = "A path to a file to read the password from for logging in to ${vendorName}.";
|
||||||
|
default = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue