snowfield/machines/lisanew/disko.nix
2024-07-10 00:36:37 +02:00

36 lines
822 B
Nix

{
devices = {
disk = {
main = {
type = "disk";
device = "/dev/disk/by-id/ata-HGST_HTE721010A9E630_JR10034M34EVTK";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}