mirror of
https://github.com/nix-community/disko.git
synced 2024-11-05 06:04:20 +03:00
78fba3983d
100M is not enough and I see people just copying examples without putting in any extra thoughts https://github.com/TUM-DSE/doctor-cluster-config/pull/368
34 lines
735 B
Nix
34 lines
735 B
Nix
{
|
|
disko.devices = {
|
|
disk = {
|
|
vdb = {
|
|
device = "/dev/disk/by-path/pci-0000:02:00.0-nvme-1";
|
|
type = "disk";
|
|
content = {
|
|
type = "gpt";
|
|
partitions = {
|
|
ESP = {
|
|
end = "500M";
|
|
type = "EF00";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "vfat";
|
|
mountpoint = "/boot";
|
|
};
|
|
};
|
|
root = {
|
|
name = "root";
|
|
end = "-0";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "bcachefs";
|
|
mountpoint = "/";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|