Something went wrong. Try again.
forked from nix-community/disko
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233# Example to create a bios compatible gpt partition{ disks ? [ "/dev/vdb" ], lib, ...}:{ disko.devices = { disk = lib.genAttrs disks (device: { name = lib.replaceStrings [ "/" ] [ "_" ] device; device = device; type = "disk"; content = { type = "gpt"; partitions = { boot = { size = "1M"; type = "EF02"; }; root = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }); };}