37 lines
785 B
Nix
37 lines
785 B
Nix
|
{
|
||
|
disko.devices = {
|
||
|
disk = {
|
||
|
vda = {
|
||
|
device = "/dev/vda";
|
||
|
type = "disk";
|
||
|
content = {
|
||
|
type = "gpt";
|
||
|
partitions = {
|
||
|
ESP = {
|
||
|
type = "EF00";
|
||
|
size = "100M";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
format = "vfat";
|
||
|
mountpoint = "/boot";
|
||
|
};
|
||
|
};
|
||
|
root = {
|
||
|
size = "100%";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
format = "bcachefs";
|
||
|
mountpoint = "/";
|
||
|
mountOptions = [
|
||
|
"fsck"
|
||
|
"fix_errors"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|