2023-07-15 18:42:37 +00:00
|
|
|
{
|
2023-03-03 07:09:13 +00:00
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
|
|
|
one = {
|
|
|
|
type = "disk";
|
2023-07-15 18:42:37 +00:00
|
|
|
device = "/dev/sda";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
2023-06-16 19:34:15 +00:00
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
2023-09-26 20:17:59 +00:00
|
|
|
BOOT = {
|
2023-06-16 19:34:15 +00:00
|
|
|
size = "1M";
|
2023-07-21 12:28:58 +00:00
|
|
|
type = "EF02"; # for grub MBR
|
2023-06-16 19:34:15 +00:00
|
|
|
};
|
|
|
|
ESP = {
|
2023-09-27 06:13:25 +00:00
|
|
|
size = "500M";
|
2023-06-16 19:34:15 +00:00
|
|
|
type = "EF00";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "mdraid";
|
|
|
|
name = "boot";
|
|
|
|
};
|
2023-06-16 19:34:15 +00:00
|
|
|
};
|
|
|
|
mdadm = {
|
|
|
|
size = "100%";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "mdraid";
|
|
|
|
name = "raid1";
|
|
|
|
};
|
2023-06-16 19:34:15 +00:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
};
|
2022-09-30 10:55:28 +00:00
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
two = {
|
|
|
|
type = "disk";
|
2023-07-15 18:42:37 +00:00
|
|
|
device = "/dev/sdb";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
2023-06-16 19:34:15 +00:00
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
boot = {
|
|
|
|
size = "1M";
|
2023-07-21 12:28:58 +00:00
|
|
|
type = "EF02"; # for grub MBR
|
2023-06-16 19:34:15 +00:00
|
|
|
};
|
|
|
|
ESP = {
|
2023-09-27 06:13:25 +00:00
|
|
|
size = "500M";
|
2023-06-16 19:34:15 +00:00
|
|
|
type = "EF00";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "mdraid";
|
|
|
|
name = "boot";
|
|
|
|
};
|
2023-06-16 19:34:15 +00:00
|
|
|
};
|
|
|
|
mdadm = {
|
|
|
|
size = "100%";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "mdraid";
|
|
|
|
name = "raid1";
|
|
|
|
};
|
2023-06-16 19:34:15 +00:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
};
|
2022-09-30 10:55:28 +00:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
mdadm = {
|
|
|
|
boot = {
|
|
|
|
type = "mdadm";
|
|
|
|
level = 1;
|
|
|
|
metadata = "1.0";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
2022-09-30 10:55:28 +00:00
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
raid1 = {
|
|
|
|
type = "mdadm";
|
|
|
|
level = 1;
|
|
|
|
content = {
|
2023-07-15 18:42:37 +00:00
|
|
|
type = "gpt";
|
|
|
|
partitions.primary = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
};
|
2022-09-30 10:55:28 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|