old
 1{
 2  disko.devices = {
 3    disk = {
 4      main = {
 5        device = "/dev/vda";
 6        type = "disk";
 7        content = {
 8          type = "gpt";
 9          partitions = {
10            boot = {
11              size = "1M";
12              type = "EF02"; # for grub MBR
13            };
14            root = {
15              size = "100%";
16              content = {
17                type = "btrfs";
18                # Btrfs subvolumes for better organization and snapshotting
19                subvolumes = {
20                  "/@" = {
21                    mountpoint = "/";
22                  };
23                  "/@home" = {
24                    mountpoint = "/home";
25                  };
26                  "/@nix" = {
27                    mountpoint = "/nix";
28                    mountOptions = ["compress=zstd" "noatime"];
29                  };
30                  "/@log" = {
31                    mountpoint = "/var/log";
32                  };
33                };
34              };
35            };
36          };
37        };
38      };
39    };
40  };
41}