hosts/hijiri-vm/disks: migrate to new partition scheme

This commit is contained in:
Nikodem Rabuliński 2024-03-24 18:03:53 +01:00
parent 0eb50f0e42
commit 411602061b

View file

@ -7,25 +7,23 @@ in
type = "disk";
device = bootDevice;
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "EFI";
type = "gpt";
partitions = {
esp = {
label = "EFI";
priority = 1;
start = "1MiB";
end = "128MiB";
fs-type = "fat32";
bootable = true;
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "LINUX";
start = "128MiB";
end = "100%";
};
linux = {
label = "LINUX";
size = "100%";
content = {
type = "btrfs";
extraArgs = [ "-f" ];
@ -47,8 +45,8 @@ in
};
};
};
}
];
};
};
};
};
}