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