2022-10-23 10:29:13 +00:00
|
|
|
{ disks ? [ "/dev/vdb" ], ... }: {
|
2023-03-03 07:09:13 +00:00
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
|
|
|
vdb = {
|
|
|
|
device = builtins.elemAt disks 0;
|
|
|
|
type = "disk";
|
|
|
|
content = {
|
2023-06-07 11:54:53 +00:00
|
|
|
type = "table_gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
|
|
|
type = "EF00";
|
|
|
|
start = "1M";
|
|
|
|
end = "+100M";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
2023-06-07 11:54:53 +00:00
|
|
|
};
|
|
|
|
root = {
|
|
|
|
end = "-0";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
2023-06-07 11:54:53 +00:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
};
|
2022-10-23 10:29:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|