-
-
Notifications
You must be signed in to change notification settings - Fork 198
/
legacy-table-with-whitespace.nix
50 lines (50 loc) · 1.17 KB
/
legacy-table-with-whitespace.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
disko.devices = {
disk = {
vdb = {
device = "/dev/sda";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "ESP";
start = "1MiB";
end = "100MiB";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "name with spaces";
start = "100MiB";
end = "200MiB";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/name_with_spaces";
};
}
{
name = "root";
start = "200MiB";
end = "100%";
part-type = "primary";
bootable = true;
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
};
};
};
};
}