2023-07-15 21:42:37 +03:00
|
|
|
{
|
2023-03-03 10:09:13 +03:00
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
|
|
|
vdb = {
|
2023-07-15 21:42:37 +03:00
|
|
|
device = "/dev/vdb";
|
2023-03-03 10:09:13 +03:00
|
|
|
type = "disk";
|
|
|
|
content = {
|
2023-07-15 21:42:37 +03:00
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
2023-09-27 09:13:25 +03:00
|
|
|
size = "500M";
|
2023-07-20 19:41:35 +03:00
|
|
|
type = "EF00";
|
2023-03-03 10:09:13 +03:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
2023-07-15 21:42:37 +03:00
|
|
|
};
|
|
|
|
root = {
|
2023-03-03 10:09:13 +03:00
|
|
|
end = "-1G";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
2023-07-15 21:42:37 +03:00
|
|
|
};
|
2023-11-12 12:46:36 +03:00
|
|
|
encryptedSwap = {
|
|
|
|
size = "10M";
|
2023-03-03 10:09:13 +03:00
|
|
|
content = {
|
|
|
|
type = "swap";
|
|
|
|
randomEncryption = true;
|
2023-11-12 12:46:36 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
plainSwap = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "swap";
|
2023-08-11 09:11:01 +03:00
|
|
|
resumeDevice = true; # resume from hiberation from this device
|
2023-03-03 10:09:13 +03:00
|
|
|
};
|
2023-07-15 21:42:37 +03:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 10:09:13 +03:00
|
|
|
};
|
2022-11-05 23:17:35 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|