{ disko.devices = { disk = { main = { type = "disk"; device = "/dev/vda"; content = { type = "gpt"; partitions = { ESP = { priority = 1; name = "ESP"; start = "1M"; end = "128M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "umask=0077" ]; }; }; root = { size = "85%"; content = { type = "btrfs"; extraArgs = [ "-f" ]; # Override existing partition mountpoint = "/"; mountOptions = [ "compress=zstd" "noatime" ]; }; }; plainSwap = { size = "15%"; content = { type = "swap"; discardPolicy = "both"; }; }; }; }; }; }; }; }