2024-05-14 12:33:41 -05:00
|
|
|
{ disks ? [ "/dev/sda" ], ... }: {
|
2024-05-14 12:03:36 -05:00
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
2024-05-14 12:33:41 -05:00
|
|
|
main = {
|
2024-05-14 12:03:36 -05:00
|
|
|
device = builtins.elemAt disks 0;
|
|
|
|
type = "disk";
|
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
|
|
|
type = "EF00";
|
|
|
|
size = "1000M";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
root = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|