From 046174da15bfca06d7d1c8b57660faa7aab9867c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 22 Jun 2024 19:47:46 +0200 Subject: [PATCH] Simplify default order --- lib/modules/partition.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/partition.nix b/lib/modules/partition.nix index 56edde618..b521cc147 100644 --- a/lib/modules/partition.nix +++ b/lib/modules/partition.nix @@ -140,7 +140,7 @@ order = mkOption { type = types.int; 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 {