hosts/hijiri-vm/disks: migrate to new partition scheme
This commit is contained in:
parent
0eb50f0e42
commit
411602061b
1 changed files with 12 additions and 14 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue