1{
2 disko.devices = {
3 disk = {
4 main = {
5 type = "disk";
6 device = "/dev/nvme0n1";
7 content = {
8 type = "gpt";
9 partitions = {
10 ESP = {
11 priority = 1;
12 size = "500M";
13 type = "EF00";
14 content = {
15 type = "filesystem";
16 format = "vfat";
17 mountpoint = "/boot";
18 mountOptions = [ "umask=0077" ];
19 };
20 };
21 root = {
22 priority = 2;
23 end = "-14G";
24 content = {
25 type = "btrfs";
26 extraArgs = [ "-f" ];
27 mountpoint = "/";
28 mountOptions = [
29 "compress=zstd"
30 "noatime"
31 ];
32 };
33 };
34 plainSwap = {
35 priority = 3;
36 size = "100%";
37 content = {
38 type = "swap";
39 discardPolicy = "both";
40 };
41 };
42 };
43 };
44 };
45 };
46 };
47}