Something went wrong. Try again.
forked from nix-community/disko
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546# This example with the legacy table should not be used. We recommend using the# gpt type instead. More information about this warning may be found in the# documentation.## https://github.com/nix-community/disko/blob/master/docs/table-to-gpt.md{ disko.devices = { disk = { main = { device = "/dev/sda"; type = "disk"; content = { type = "table"; format = "gpt"; partitions = [ { name = "ESP"; start = "1M"; end = "500M"; bootable = true; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "umask=0077" ]; }; } { name = "root"; start = "500M"; end = "100%"; part-type = "primary"; bootable = true; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; } ]; }; }; }; };}