types table: remove deprecated index

This commit is contained in:
lassulus committed 2023-05-30 15:29:32 +02:00
1 parent e6d41e39e3
commit e634253dfc
1 file changed
-6
-6
View File
@@ -38,12 +38,6 @@
default = "100%";
description = "End of the partition";
};
index = lib.mkOption {
type = lib.types.int;
# TODO find a better way to get the index
default = lib.toInt (lib.head (builtins.match ".*entry ([[:digit:]]+)]" config._module.args.name));
description = "Index of the partition";
};
flags = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];