types table: remove deprecated index

This commit is contained in:
lassulus 2023-05-30 15:28:59 +02:00
parent e6d41e39e3
commit e634253dfc

View file

@ -38,12 +38,6 @@
default = "100%"; default = "100%";
description = "End of the partition"; 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 { flags = lib.mkOption {
type = lib.types.listOf lib.types.str; type = lib.types.listOf lib.types.str;
default = [ ]; default = [ ];