{ disko.devices = { disk = { sda = { device = "/dev/sda"; type = "disk"; content = { type = "gpt"; partitions = { MBR = { type = "EF02"; # for grub MBR size = "1M"; priority = 1; # Needs to be first partition }; ESP = { type = "EF00"; size = "500M"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "umask=0077" ]; }; }; root = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }; }; }; }