hetner stuf

This commit is contained in:
Johannes Jöns 2024-01-18 23:15:33 +01:00
parent b1c373ddbe
commit 953bd17245

View file

@ -56,23 +56,21 @@
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {
BOOT = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = { ESP = {
size = "500M";
type = "EF00"; type = "EF00";
size = "500M";
content = { content = {
type = "mdraid"; type = "filesystem";
name = "boot"; format = "vfat";
mountpoint = "/boot";
}; };
}; };
mdadm = { root = {
size = "100%"; size = "100%";
content = { content = {
type = "mdraid"; type = "filesystem";
name = "raid1"; format = "ext4";
mountpoint = "/";
}; };
}; };
}; };
@ -84,51 +82,13 @@
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {
boot = { extra = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "500M";
type = "EF00";
content = {
type = "mdraid";
name = "boot";
};
};
mdadm = {
size = "100%";
content = {
type = "mdraid";
name = "raid1";
};
};
};
};
};
};
mdadm = {
boot = {
type = "mdadm";
level = 1;
metadata = "1.0";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
raid1 = {
type = "mdadm";
level = 1;
content = {
type = "gpt";
partitions.primary = {
size = "100%"; size = "100%";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "ext4"; format = "ext4";
mountpoint = "/"; mountpoint = "/media/extra";
};
}; };
}; };
}; };