{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "100M";
type = "EF00";
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
luks = {
size = "100%";
type = "luks";
name = "crypted";
extraOpenArgs = [ "--allow-discards" ];
format = "ext4";
mountpoint = "/";
}