disko: try to fix eval

This commit is contained in:
Sandro - 2023-05-19 02:28:03 +02:00
parent 4d386ecfdc
commit 19457597b1
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ in
{
options.disko.disks = lib.mkOption {
description = lib.mdDoc "Disk names to format.";
type = with lib.types; listOf (submodule (_: {
type = with lib.types; nullOr (listOf (submodule (_: {
options = {
device = lib.mkOption {
type = lib.types.str;
@ -46,8 +46,8 @@ in
description = "Wether to include a zfs parition.";
};
};
}));
default = { };
})));
default = null;
};
config = {