mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
35 lines
788 B
Nix
35 lines
788 B
Nix
|
{
|
||
|
disko.devices = {
|
||
|
disk = {
|
||
|
vdb = {
|
||
|
device = "/dev/disk/by-id/some-disk-id";
|
||
|
name = "this-is-some-super-long-name-to-test-what-happens-when-the-name-is-too-long";
|
||
|
type = "disk";
|
||
|
content = {
|
||
|
type = "gpt";
|
||
|
partitions = {
|
||
|
ESP = {
|
||
|
type = "EF00";
|
||
|
size = "500M";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
format = "vfat";
|
||
|
mountpoint = "/boot";
|
||
|
};
|
||
|
};
|
||
|
root = {
|
||
|
size = "100%";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
format = "ext4";
|
||
|
mountpoint = "/";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|