summaryrefslogtreecommitdiffstats
path: root/example/config-gpt-bios.nix
diff options
context:
space:
mode:
Diffstat (limited to 'example/config-gpt-bios.nix')
-rw-r--r--example/config-gpt-bios.nix33
1 files changed, 0 insertions, 33 deletions
diff --git a/example/config-gpt-bios.nix b/example/config-gpt-bios.nix
deleted file mode 100644
index 9dfcffa..0000000
--- a/example/config-gpt-bios.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-# Example to create a bios compatible gpt partition
-{
- type = "devices";
- content = {
- sda = {
- type = "table";
- format = "gpt";
- partitions = [
- {
- type = "partition";
- start = "0";
- end = "1M";
- part-type = "primary";
- flags = ["bios_grub"];
- content.type = "noop";
- }
- {
- type = "partition";
- # leave space for the grub aka BIOS boot
- start = "1M";
- end = "100%";
- part-type = "primary";
- bootable = true;
- content = {
- type = "filesystem";
- format = "ext4";
- mountpoint = "/";
- };
- }
- ];
- };
- };
-}