{ disko.devices = { disk."system" = { device = "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:1:1:0"; type = "disk"; content = { type = "table"; format = "gpt"; partitions = [ { index = 1; name = "root"; start = "100MiB"; end = "-4GB"; part-type = "primary"; fs-type = "btrfs"; bootable = true; content = { type = "filesystem"; format = "btrfs"; mountpoint = "/"; }; } { index = 2; name = "swap"; start = "-4G"; end = "100%"; part-type = "primary"; fs-type = "linux-swap"; content = { type = "swap"; randomEncryption = true; }; } { index = 3; name = "ESP"; start = "1MiB"; end = "100MiB"; fs-type = "fat32"; bootable = true; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; } ]; }; }; }; }