-
-
Notifications
You must be signed in to change notification settings - Fork 199
/
gpt-name-with-whitespace.nix
48 lines (48 loc) · 1.17 KB
/
gpt-name-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
{
disko.devices = {
disk = {
vdb = {
device = "/dev/disk/by-id/some-disk-id";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "100M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
"name with spaces" = {
size = "100M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/name with spaces";
};
};
"name^with\\some@special#chars" = {
size = "100M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/name^with\\some@special#chars";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}