2023-09-20 12:40:48 +02:00
|
|
|
{
|
2023-10-04 14:45:59 +02:00
|
|
|
boot.loader.grub.device = "/dev/vda";
|
|
|
|
boot.initrd.luks.devices."vda2".device = "/dev/vda2";
|
2023-09-20 12:40:48 +02:00
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
2023-09-20 13:11:08 +02:00
|
|
|
vda = {
|
2023-09-20 12:40:48 +02:00
|
|
|
type = "disk";
|
|
|
|
device = "/dev/vda";
|
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
|
|
|
size = "100M";
|
|
|
|
type = "EF00";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
luks = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "luks";
|
|
|
|
name = "crypted";
|
|
|
|
extraOpenArgs = [ "--allow-discards" ];
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|