alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
aergia: use new gpt tables
author
lassulus
date
3 years ago
(Sep 12, 2023, 8:27 AM CEST)
commit
a6adb508
a6adb50890579eb9d0af84eb1eacadde36d12072
parent
3dce8d38
3dce8d38b2f1274afde927f5250fa20d8f9712c7
+15
-24
1 changed file
Expand all
Collapse all
Unified
Split
nixos
machines
aergia
disk.nix
+15
-24
nixos/machines/aergia/disk.nix
View file
Reviewed
···
8
8
type = "disk";
9
9
device = "/dev/nvme0n1";
10
10
content = {
11
11
-
type = "table";
12
12
-
format = "gpt";
13
13
-
partitions = [
14
14
-
{
15
15
-
name = "boot";
16
16
-
start = "0";
17
17
-
end = "1M";
18
18
-
part-type = "primary";
19
19
-
flags = ["bios_grub"];
20
20
-
}
21
21
-
{
22
22
-
name = "ESP";
23
23
-
start = "1MiB";
24
24
-
end = "1GiB";
25
25
-
fs-type = "fat32";
26
26
-
bootable = true;
11
11
+
type = "gpt";
12
12
+
partitions = {
13
13
+
grub = {
14
14
+
size = "1M";
15
15
+
type = "EF02";
16
16
+
};
17
17
+
ESP = {
18
18
+
size = "1G";
19
19
+
type = "EF00";
27
20
content = {
28
21
type = "filesystem";
29
22
format = "vfat";
30
23
mountpoint = "/boot";
31
24
};
32
32
-
}
33
33
-
{
34
34
-
name = "root";
35
35
-
start = "1GiB";
36
36
-
end = "100%";
25
25
+
};
26
26
+
root = {
27
27
+
size = "100%";
37
28
content = {
38
29
type = "luks";
39
30
name = "aergia1";
40
31
content = {
41
32
type = "btrfs";
42
42
-
extraArgs = "-f"; # Override existing partition
33
33
+
extraArgs = [ "-f" ]; # Override existing partition
43
34
subvolumes = {
44
35
# Subvolume name is different from mountpoint
45
36
"/rootfs" = {
···
57
48
};
58
49
};
59
50
};
60
60
-
}
61
61
-
];
51
51
+
};
52
52
+
};
62
53
};
63
54
};
64
55
};