Simplify default order

This commit is contained in:
Manuel Thalmann 2024-06-22 19:47:46 +02:00
parent a73b74e05d
commit 046174da15

View file

@ -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 {