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