From e634253dfcefc487f9310e3d44d8d5cc6233ee4b Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 30 May 2023 15:28:59 +0200 Subject: [PATCH] types table: remove deprecated index --- lib/types/table.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/types/table.nix b/lib/types/table.nix index a366685..6d5e390 100644 --- a/lib/types/table.nix +++ b/lib/types/table.nix @@ -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 = [ ];