1
1
Fork 1
mirror of https://github.com/oddlama/nixos-extra-modules.git synced 2025-10-10 22:00:39 +02:00

fix: add new partition types and stuff to disko lib

This commit is contained in:
oddlama 2024-03-02 14:02:40 +01:00
parent c0ecafbd7c
commit 34ba92f057
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -17,13 +17,12 @@ _inputs: final: prev: {
gpt = { gpt = {
partGrub = start: end: { partGrub = start: end: {
inherit start end; inherit start end;
part-type = "primary"; type = "ef02";
flags = ["bios_grub"];
}; };
partEfi = start: end: { partEfi = start: end: {
inherit start end; inherit start end;
fs-type = "fat32"; type = "ef00";
bootable = true; hybrid.mbrBootableFlag = true;
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
@ -32,7 +31,6 @@ _inputs: final: prev: {
}; };
partSwap = start: end: { partSwap = start: end: {
inherit start end; inherit start end;
fs-type = "linux-swap";
content = { content = {
type = "swap"; type = "swap";
randomEncryption = true; randomEncryption = true;