2024-06-25 06:29:25 +00:00
|
|
|
{
|
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
2024-07-19 19:17:48 +00:00
|
|
|
main = {
|
2024-06-25 06:29:25 +00:00
|
|
|
type = "disk";
|
|
|
|
device = "/dev/vdb";
|
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
|
|
|
size = "500M";
|
|
|
|
type = "EF00";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
2024-10-01 17:31:29 +00:00
|
|
|
mountOptions = [ "umask=0077" ];
|
2024-06-25 06:29:25 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
primary = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "lvm_pv";
|
|
|
|
vg = "mainpool";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
lvm_vg = {
|
|
|
|
mainpool = {
|
|
|
|
type = "lvm_vg";
|
|
|
|
lvs = {
|
|
|
|
thinpool = {
|
|
|
|
size = "100M";
|
|
|
|
lvm_type = "thin-pool";
|
|
|
|
};
|
|
|
|
root = {
|
|
|
|
size = "10M";
|
|
|
|
lvm_type = "thinlv";
|
|
|
|
pool = "thinpool";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
mountOptions = [
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
home = {
|
|
|
|
size = "10M";
|
|
|
|
lvm_type = "thinlv";
|
|
|
|
pool = "thinpool";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/home";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
raw = {
|
|
|
|
size = "10M";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|