From fd2de4ddd46ce24c10cb2ba8fbfc744acc36da03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 4 Sep 2022 12:10:09 +0200 Subject: fix gpt-bios-compat example and test it. --- example/config-gpt-bios.nix | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 example/config-gpt-bios.nix (limited to 'example/config-gpt-bios.nix') 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 = "/"; - }; - } - ]; - }; - }; -} -- cgit v1.2.3