disko/example/long-device-name.nix

35 lines
837 B
Nix
Raw Permalink Normal View History

2024-03-04 00:51:38 +00:00
{
disko.devices = {
disk = {
2024-07-19 19:17:48 +00:00
main = {
2024-03-04 00:51:38 +00:00
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";
mountOptions = [ "umask=0077" ];
2024-03-04 00:51:38 +00:00
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}