mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
types table: remove deprecated index
This commit is contained in:
1 parent
e6d41e39e3
commit
e634253dfc
1 file changed
-6
@@ -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 = [ ];
|
||||
|
||||
Reference in new issue
Block a user