types table: inline partition type

This commit is contained in:
lassulus 2023-04-07 14:29:39 +02:00
parent 8891df7029
commit d6f062ea11
22 changed files with 76 additions and 159 deletions

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "100MiB";
@ -22,7 +21,6 @@
}
{
name = "root";
type = "partition";
start = "100MiB";
end = "100%";
part-type = "primary";

View file

@ -10,14 +10,12 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "1M";
part-type = "primary";
flags = [ "bios_grub" ];
}
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "128MiB";
@ -29,7 +27,6 @@
};
}
{
type = "partition";
name = "mdadm";
start = "128MiB";
end = "100%";
@ -50,14 +47,12 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "1M";
part-type = "primary";
flags = [ "bios_grub" ];
}
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "128MiB";
@ -69,7 +64,6 @@
};
}
{
type = "partition";
name = "mdadm";
start = "128MiB";
end = "100%";
@ -101,7 +95,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "primary";
start = "1MiB";
end = "100%";

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "128MiB";
@ -23,7 +22,6 @@
}
{
name = "root";
type = "partition";
start = "128MiB";
end = "100%";
content = {

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "128MiB";
@ -32,7 +31,6 @@
format = "gpt";
partitions = [
{
type = "partition";
start = "1M";
end = "100%";
name = "luks";
@ -60,7 +58,6 @@
format = "gpt";
partitions = [
{
type = "partition";
start = "1M";
end = "100%";
name = "luks";
@ -90,7 +87,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "bla";
start = "1MiB";
end = "100%";

View file

@ -11,7 +11,6 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "1M";
part-type = "primary";
@ -19,7 +18,6 @@
}
{
name = "root";
type = "partition";
# leave space for the grub aka BIOS boot
start = "1M";
end = "100%";

View file

@ -9,13 +9,11 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "1M";
flags = [ "bios_grub" ];
}
{
type = "partition";
name = "ESP";
start = "1M";
end = "512M";
@ -28,7 +26,6 @@
}
{
name = "nix";
type = "partition";
start = "512M";
end = "100%";
part-type = "primary";

View file

@ -10,13 +10,11 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "1M";
flags = [ "bios_grub" ];
}
{
type = "partition";
name = "ESP";
start = "1M";
end = "512M";
@ -28,7 +26,6 @@
};
}
{
type = "partition";
name = "root";
start = "512M";
end = "100%";

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "100MiB";
@ -24,7 +23,6 @@
};
}
{
type = "partition";
name = "luks";
start = "100MiB";
end = "100%";

View file

@ -10,7 +10,6 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "100M";
fs-type = "fat32";
@ -21,7 +20,6 @@
};
}
{
type = "partition";
name = "primary";
start = "100M";
end = "100%";
@ -42,7 +40,6 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "100M";
fs-type = "fat32";
@ -53,7 +50,6 @@
};
}
{
type = "partition";
name = "primary";
start = "100M";
end = "100%";

View file

@ -10,14 +10,12 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "1M";
part-type = "primary";
flags = [ "bios_grub" ];
}
{
type = "partition";
name = "mdadm";
start = "1MiB";
end = "100%";
@ -38,14 +36,12 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "1M";
part-type = "primary";
flags = [ "bios_grub" ];
}
{
type = "partition";
name = "mdadm";
start = "1MiB";
end = "100%";
@ -67,7 +63,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "primary";
start = "1MiB";
end = "100%";

View file

@ -10,7 +10,6 @@
partitions = [
{
name = "nix";
type = "partition";
part-type = "primary";
start = "0%";
end = "100%";
@ -33,7 +32,6 @@
partitions = [
{
name = "root";
type = "partition";
part-type = "primary";
start = "0%";
end = "100%";

View file

@ -10,7 +10,6 @@
partitions = [
{
name = "nix";
type = "partition";
part-type = "primary";
start = "0%";
end = "-10MiB";

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "100MiB";
@ -22,7 +21,6 @@
}
{
name = "root";
type = "partition";
start = "100MiB";
end = "100%";
part-type = "primary";

View file

@ -25,7 +25,6 @@ let
partitions = [
{
name = "root";
type = "partition";
part-type = "primary";
start = "1M";
end = "100%";

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "100MiB";
@ -22,7 +21,6 @@
}
{
name = "root";
type = "partition";
start = "100MiB";
end = "-1G";
part-type = "primary";
@ -34,7 +32,6 @@
}
{
name = "swap";
type = "partition";
start = "-1G";
end = "100%";
part-type = "primary";

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "100MiB";
@ -22,7 +21,6 @@
}
{
name = "root";
type = "partition";
start = "100MiB";
end = "100%";
part-type = "primary";

View file

@ -10,7 +10,6 @@
partitions = [
{
name = "boot";
type = "partition";
start = "0";
end = "1M";
part-type = "primary";
@ -18,7 +17,6 @@
}
{
name = "root";
type = "partition";
# leave space for the grub aka BIOS boot
start = "1M";
end = "100%";

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "1MiB";
end = "100MiB";
@ -24,7 +23,6 @@
};
}
{
type = "partition";
start = "100MiB";
end = "100%";
name = "primary";

View file

@ -9,7 +9,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "ESP";
start = "0";
end = "64MiB";
@ -22,7 +21,6 @@
};
}
{
type = "partition";
name = "zfs";
start = "128MiB";
end = "100%";
@ -42,7 +40,6 @@
format = "gpt";
partitions = [
{
type = "partition";
name = "zfs";
start = "128MiB";
end = "100%";