From 95c10a6c7f25148d044d0d856080c53167af9a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 16 Jun 2023 21:24:22 +0200 Subject: [PATCH] bcachefs: migrate to new part type --- example/bcachefs.nix | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/example/bcachefs.nix b/example/bcachefs.nix index d400b6b..42a9a19 100644 --- a/example/bcachefs.nix +++ b/example/bcachefs.nix @@ -5,35 +5,29 @@ device = builtins.elemAt disks 0; type = "disk"; content = { - type = "table"; - format = "gpt"; - partitions = [ - { - name = "ESP"; - start = "1MiB"; + type = "gpt"; + partitions = { + ESP = { end = "100MiB"; - bootable = true; + type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; - } - { + }; + root = { name = "root"; - start = "100MiB"; - end = "100%"; - part-type = "primary"; + end = "-0"; content = { type = "filesystem"; format = "bcachefs"; mountpoint = "/"; }; - } - ]; + }; + }; }; }; }; }; } -