From 073fb531ac9b51bb946cb9e921ec16b3391d76a3 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 29 Dec 2023 15:32:47 +0000 Subject: [PATCH] Add new file --- partitions/simple-efi.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 partitions/simple-efi.nix 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 = "/"; + }; + }; + }; + }; + }; + }; + }; +}