diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-09-04 12:11:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-04 12:11:54 +0100 |
commit | fbc08430d28a65eb3e783feb892659d32abd4551 (patch) | |
tree | cba2f7972cb82ff445e68383a46927c8a25ec763 /example/config-gpt-bios.nix | |
parent | adf901d58155ca268d15351fff164d3ef38a0890 (diff) | |
parent | 68f950bf2045573b03cd0e1ceebe7131ea999873 (diff) |
Merge pull request #31 from nix-community/types
Reimplement using types
Diffstat (limited to 'example/config-gpt-bios.nix')
-rw-r--r-- | example/config-gpt-bios.nix | 33 |
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 = "/"; - }; - } - ]; - }; - }; -} |