From 34ba92f0576a3998133310f070381563448e2b1a Mon Sep 17 00:00:00 2001 From: oddlama Date: Sat, 2 Mar 2024 14:02:40 +0100 Subject: [PATCH] fix: add new partition types and stuff to disko lib --- lib/disko.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/disko.nix b/lib/disko.nix index 391687e..2aa4a69 100644 --- a/lib/disko.nix +++ b/lib/disko.nix @@ -17,13 +17,12 @@ _inputs: final: prev: { gpt = { partGrub = start: end: { inherit start end; - part-type = "primary"; - flags = ["bios_grub"]; + type = "ef02"; }; partEfi = start: end: { inherit start end; - fs-type = "fat32"; - bootable = true; + type = "ef00"; + hybrid.mbrBootableFlag = true; content = { type = "filesystem"; format = "vfat"; @@ -32,7 +31,6 @@ _inputs: final: prev: { }; partSwap = start: end: { inherit start end; - fs-type = "linux-swap"; content = { type = "swap"; randomEncryption = true;