feat: Use a single esp insted of raid1

This commit is contained in:
uttarayan21
2025-01-02 16:23:33 +05:30
parent e3596c2761
commit b0cca31069

View File

@@ -7,12 +7,16 @@
content = {
type = "gpt";
partitions = {
boot = {
ESP = {
priority = 1;
name = "ESP";
size = "1G";
type = "EF00";
content = {
type = "mdraid";
name = "boot";
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = ["umask=0077"];
};
};
primary = {
@@ -31,14 +35,14 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1G";
type = "EF00";
content = {
type = "mdraid";
name = "boot";
};
};
# esp = {
# size = "1G";
# type = "EF00";
# content = {
# type = "mdraid";
# name = "boot";
# };
# };
primary = {
size = "100%";
content = {
@@ -50,18 +54,18 @@
};
};
};
mdadm = {
boot = {
type = "mdadm";
level = 1;
metadata = "1.0";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
};
# mdadm = {
# esp = {
# type = "mdadm";
# level = 1;
# metadata = "1.0";
# content = {
# type = "filesystem";
# format = "vfat";
# mountpoint = "/boot";
# };
# };
# };
lvm_vg = {
pool = {
type = "lvm_vg";