Set password settings to null by default

This commit is contained in:
Manuel Thalmann 2024-05-15 09:49:37 +02:00
parent e8173f7566
commit fdf11f3cee

View file

@ -40,11 +40,13 @@ let
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;
};
};