main
1_: {
2 disko.devices = {
3 disk = {
4 root = {
5 type = "disk";
6 # Verify with lsblk before installing. Override with --disk root DEVICE
7 # when the system disk changes, for example after adding Okinawa's NVMe.
8 device = "/dev/nvme0n1";
9 content = {
10 type = "gpt";
11 partitions = {
12 ESP = {
13 size = "1G";
14 type = "EF00";
15 content = {
16 type = "filesystem";
17 format = "vfat";
18 mountpoint = "/boot";
19 mountOptions = [ "umask=0077" ];
20 };
21 };
22 root = {
23 size = "100%";
24 content = {
25 type = "filesystem";
26 format = "ext4";
27 mountpoint = "/";
28 mountOptions = [
29 "noatime"
30 "nodiratime"
31 "discard"
32 ];
33 };
34 };
35 };
36 };
37 };
38 };
39 };
40}