added raid5 and raid6 to lvm

This commit is contained in:
cvoges12 2023-09-25 07:32:25 -05:00 committed by mergify[bot]
parent d60860e4cd
commit 4a4d77a9ae

View File

@ -24,7 +24,7 @@
description = "Size of the logical volume";
};
lvm_type = lib.mkOption {
type = lib.types.nullOr (lib.types.enum [ "mirror" "raid0" "raid1" ]); # TODO add all lib.types
type = lib.types.nullOr (lib.types.enum [ "mirror" "raid0" "raid1" "raid5" "raid6" ]); # TODO add all lib.types
default = null; # maybe there is always a default type?
description = "LVM type";
};