Reorder settings logically

This commit is contained in:
Manuel Thalmann 2024-06-22 19:45:14 +02:00
parent 0dd84b2508
commit a73b74e05d

View file

@ -155,6 +155,12 @@
default = false; default = false;
}; };
type = mkOption {
type = types.nullOr (types.either types.str types.int);
description = "The type of the partition.";
default = null;
};
size = mkOption { size = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;
description = "The size of the partition."; description = "The size of the partition.";
@ -166,12 +172,6 @@
description = "A script for printing the size to the console."; description = "A script for printing the size to the console.";
internal = true; internal = true;
}; };
type = mkOption {
type = types.nullOr (types.either types.str types.int);
description = "The type of the partition.";
default = null;
};
}; };
config = { config = {