2023-07-15 18:42:37 +00:00
|
|
|
{
|
2023-03-03 07:09:13 +00:00
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
|
|
|
vdb = {
|
|
|
|
type = "disk";
|
2023-07-15 18:42:37 +00:00
|
|
|
device = "/dev/vdb";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
2023-07-15 18:42:37 +00:00
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
2023-09-27 06:13:25 +00:00
|
|
|
size = "500M";
|
2023-07-20 16:41:35 +00:00
|
|
|
type = "EF00";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
mountOptions = [
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
2023-07-15 18:42:37 +00:00
|
|
|
};
|
|
|
|
primary = {
|
|
|
|
size = "100%";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
2023-07-15 18:42:37 +00:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
};
|
2022-08-29 09:45:19 +00:00
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
vdc = {
|
|
|
|
type = "disk";
|
2023-07-15 18:42:37 +00:00
|
|
|
device = "/dev/vdc";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "zfs";
|
|
|
|
pool = "zroot";
|
|
|
|
};
|
2022-08-29 09:45:19 +00:00
|
|
|
};
|
2022-08-26 10:50:52 +00:00
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
zpool = {
|
|
|
|
zroot = {
|
|
|
|
type = "zpool";
|
|
|
|
datasets = {
|
|
|
|
"root" = {
|
2023-04-07 16:29:48 +00:00
|
|
|
type = "zfs_fs";
|
2023-03-03 07:09:13 +00:00
|
|
|
options.mountpoint = "none";
|
|
|
|
};
|
|
|
|
"root/zfs_fs" = {
|
2023-04-07 16:29:48 +00:00
|
|
|
type = "zfs_fs";
|
2023-03-03 07:09:13 +00:00
|
|
|
mountpoint = "/zfs_fs";
|
|
|
|
options."com.sun:auto-snapshot" = "true";
|
|
|
|
};
|
2022-08-29 09:45:19 +00:00
|
|
|
};
|
|
|
|
};
|
2022-08-26 10:50:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|