fix: disko config
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
227b4c5fd4
commit
5b6e05ebf6
1 changed files with 46 additions and 24 deletions
|
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue