Simplify default order
This commit is contained in:
parent
a73b74e05d
commit
046174da15
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@
|
||||||
order = mkOption {
|
order = mkOption {
|
||||||
type = types.int;
|
type = types.int;
|
||||||
description = "The sort order of the partition creation.";
|
description = "The sort order of the partition creation.";
|
||||||
default = if (!(isSwap config)) && ((builtins.match ".*[^[:space:]].*" (toString config.size)) == null) then 1 else 0;
|
default = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
label = mkOption {
|
label = mkOption {
|
||||||
|
|
Loading…
Reference in a new issue