disko/example/simple-efi.nix

34 lines
694 B
Nix
Raw Normal View History

2023-08-11 09:11:01 +03:00
{
disko.devices = {
disk = {
vdb = {
device = "/dev/disk/by-id/some-disk-id";
type = "disk";
content = {
2023-06-07 15:31:21 +03:00
type = "gpt";
2023-06-07 14:54:53 +03:00
partitions = {
ESP = {
type = "EF00";
size = "500M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
2023-06-07 14:54:53 +03:00
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
2023-06-07 14:54:53 +03:00
};
};
};
2022-10-23 13:29:13 +03:00
};
};
};
}