disko: try to fix eval
This commit is contained in:
parent
4d386ecfdc
commit
19457597b1
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue