Reorder settings logically

This commit is contained in:
Manuel Thalmann 2024-06-22 20:45:50 +02:00
parent 32b1b37b1d
commit aea7b91381

View file

@ -264,28 +264,6 @@
config = { config = {
partition = { partition = {
os = {
partitions = {
Boot = {
index = 1;
type = "uefi";
size = "+1G";
format = fs.fat32;
};
Swap = {
index = 2;
type = "swap";
};
OS = {
index = 3;
type = "linux";
format = fs.ext4;
};
};
};
script = script =
let let
inherit (config.partition) os rootDir; inherit (config.partition) os rootDir;
@ -314,6 +292,28 @@
swapScript swapScript
] ]
); );
os = {
partitions = {
Boot = {
index = 1;
type = "uefi";
size = "+1G";
format = fs.fat32;
};
Swap = {
index = 2;
type = "swap";
};
OS = {
index = 3;
type = "linux";
format = fs.ext4;
};
};
};
}; };
}; };
} }