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