disko/example/hybrid.nix

39 lines
892 B
Nix
Raw Normal View History

{
disko.devices = {
disk = {
main = {
type = "disk";
device = "/dev/disk/by-id/ata-Samsung_SSD_850_EVO_250GB_S21PNXAGB12345";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
2023-07-21 15:28:58 +03:00
type = "EF02"; # for grub MBR
priority = 1; # Needs to be first partition
};
ESP = {
size = "512M";
2023-07-20 19:41:35 +03:00
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
2023-02-02 15:27:25 +03:00
};
};
};
}