From c8a0e78d86b12ea67be6ed0f7cae7f9bfabae75a Mon Sep 17 00:00:00 2001 From: Yifei Sun Date: Sun, 7 Sep 2025 15:29:18 +0200 Subject: [PATCH] examples: gpt partition attributes cherry-picked from https://github.com/nvmd/disko/commit/9dc58d4d49c9f74623a06e2fc20cdfd8bb3cbe8b usage example: - set attribute: https://github.com/nvmd/nixos-raspberrypi-demo/blob/2847963e7555fc412c1d0f37bb48c761e78f350d/disko-nvme-zfs.nix#L9L11 - check: https://github.com/nvmd/nixos-raspberrypi-demo/blob/2847963e7555fc412c1d0f37bb48c761e78f350d/flake.nix#L154L160 --- example/gpt-bios-compat.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/example/gpt-bios-compat.nix b/example/gpt-bios-compat.nix index 4be1942..d3955eb 100644 --- a/example/gpt-bios-compat.nix +++ b/example/gpt-bios-compat.nix @@ -11,6 +11,7 @@ boot = { size = "1M"; type = "EF02"; # for grub MBR + attributes = [ 0 ]; # partition attribute }; root = { size = "100%";