diff --git a/partitions/simple-efi.nix b/partitions/simple-efi.nix new file mode 100644 index 0000000..f07933f --- /dev/null +++ b/partitions/simple-efi.nix @@ -0,0 +1,32 @@ +{ + disko.devices = { + disk = { + vdb = { + #device = "/dev/disk/by-id/some-disk-id"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + ESP = { + type = "EF00"; + size = "1G"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + }; + }; + root = { + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; + }; + }; +}