main
1_: {
2 disko.devices = {
3 # NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
4 # sda 8:0 0 489G 0 disk
5 # sdb 8:16 0 1.8T 0 disk
6 # sdc 8:32 0 465.8G 0 disk
7 # nvme0n1 259:0 0 232.9G 0 disk
8 # nvme1n1 259:3 0 232.9G 0 disk
9 disk = {
10 # 512GB root/boot drive. Configured with:
11 # - A FAT32 ESP partition for systemd-boot
12 # - A LUKS container which contains an EXT4 filesystem
13 root = {
14 type = "disk";
15 device = "/dev/nvme0n1";
16 content = {
17 type = "gpt";
18 partitions = {
19 ESP = {
20 size = "1G";
21 type = "EF00";
22 content = {
23 type = "filesystem";
24 format = "vfat";
25 mountpoint = "/boot";
26 mountOptions = [ "umask=0077" ];
27 };
28 };
29 root = {
30 size = "100%";
31 content = {
32 type = "filesystem";
33 format = "ext4";
34 mountpoint = "/";
35 mountOptions = [
36 "noatime"
37 "nodiratime"
38 "discard"
39 ];
40 };
41 };
42 };
43 };
44 };
45 };
46 };
47}