fix: disko config

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-11-04 10:18:49 +01:00
parent 227b4c5fd4
commit 5b6e05ebf6
Signed by: lander
GPG key ID: 0142722B4B0C536F

View file

@ -9,60 +9,82 @@ in
type = "disk"; type = "disk";
device = disk1; device = disk1;
content = { content = {
type = "table"; type = "gpt";
format = "mbr"; efiGptPartitionFirst = false;
partitions = [ partitions = {
{ boot = {
name = "boot-primary"; priority = 1;
size = "1G";
bootable = true;
type = "EF02"; type = "EF02";
size = "32M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = null;
};
hybrid = {
mbrPartitionType = "0x0c";
mbrBootableFlag = false;
};
};
esp = {
size = "1G";
type = "EF00";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot"; mountpoint = "/boot";
mountOptions = [ "nofail" ]; mountOptions = [ "nofail" ];
}; };
} };
{ zfs = {
name = "zfs-a";
size = "100%"; size = "100%";
content = { content = {
type = "zfs"; type = "zfs";
pool = "zroot"; pool = "zroot";
}; };
} };
]; };
}; };
}; };
disk2 = { disk2 = {
type = "disk"; type = "disk";
device = disk2; device = disk2;
content = { content = {
type = "table"; type = "gpt";
format = "mbr"; efiGptPartitionFirst = false;
partitions = [ partitions = {
{ boot = {
name = "boot-secondary"; priority = 1;
size = "1G";
bootable = true;
type = "EF02"; type = "EF02";
size = "32M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = null;
};
hybrid = {
mbrPartitionType = "0x0c";
mbrBootableFlag = false;
};
};
esp = {
size = "1G";
type = "EF00";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot-fallback"; mountpoint = "/boot-fallback";
mountOptions = [ "nofail" ]; mountOptions = [ "nofail" ];
}; };
} };
{ zfs = {
name = "zfs-b";
size = "100%"; size = "100%";
content = { content = {
type = "zfs"; type = "zfs";
pool = "zroot"; pool = "zroot";
}; };
} };
]; };
}; };
}; };
}; };