2022-12-29 17:46:31 +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-16 19:24:22 +00:00
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
2023-03-03 07:09:13 +00:00
|
|
|
end = "100MiB";
|
2023-06-16 19:24:22 +00:00
|
|
|
type = "EF00";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
2023-06-16 19:24:22 +00:00
|
|
|
};
|
|
|
|
root = {
|
2023-03-03 07:09:13 +00:00
|
|
|
name = "root";
|
2023-06-16 19:24:22 +00:00
|
|
|
end = "-0";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "bcachefs";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
2023-06-16 19:24:22 +00:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
};
|
2022-12-29 17:46:31 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|